mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 14:54:23 +00:00
Some patching
This commit is contained in:
parent
032c04ef08
commit
607f8b702b
1 changed files with 2 additions and 7 deletions
|
@ -7,11 +7,6 @@ function dotfish
|
|||
echo_progress "Updating fish config for: "
|
||||
echo_highlight "$TARGET" \n
|
||||
|
||||
if test -z $TARGET
|
||||
echo_progress "Couldn't detect target, exiting..." \n
|
||||
return 1
|
||||
end
|
||||
|
||||
set -g FISHCONFIG ~(echo $TARGET)/.config/fish
|
||||
|
||||
echo_progress "Destination directory is: "
|
||||
|
@ -23,8 +18,8 @@ function dotfish
|
|||
echo_progress "Deleting old config..." \n
|
||||
rm -rf "$FISHCONFIG"
|
||||
else
|
||||
echo_progress "Deletion was refused, exiting..." \n
|
||||
return 2
|
||||
echo_progress "Deletion was refused, skipping..." \n
|
||||
continue
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue