Fix issues in new .t script
This commit is contained in:
parent
478f6722ba
commit
e6a3176cdd
2 changed files with 3 additions and 2 deletions
4
.bin/.t
4
.bin/.t
|
@ -30,11 +30,11 @@ fi
|
|||
target="$XDG_CONFIG_HOME/templates/$target"
|
||||
if [ -f "$target" ]
|
||||
then
|
||||
cp "$target" .
|
||||
cp -i "$target" .
|
||||
echo "Template copied."
|
||||
elif [ -d "$target" ]
|
||||
then
|
||||
cp -r "$target/*" .
|
||||
cp -irT "$target" .
|
||||
echo "Template copied."
|
||||
else
|
||||
echo "Error copying template."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue