mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 23:04:22 +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_progress "Updating fish config for: "
|
||||||
echo_highlight "$TARGET" \n
|
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
|
set -g FISHCONFIG ~(echo $TARGET)/.config/fish
|
||||||
|
|
||||||
echo_progress "Destination directory is: "
|
echo_progress "Destination directory is: "
|
||||||
|
@ -23,8 +18,8 @@ function dotfish
|
||||||
echo_progress "Deleting old config..." \n
|
echo_progress "Deleting old config..." \n
|
||||||
rm -rf "$FISHCONFIG"
|
rm -rf "$FISHCONFIG"
|
||||||
else
|
else
|
||||||
echo_progress "Deletion was refused, exiting..." \n
|
echo_progress "Deletion was refused, skipping..." \n
|
||||||
return 2
|
continue
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue