mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 14:54:23 +00:00
Improve dotfish
This commit is contained in:
parent
4986f6da9e
commit
f239e2ecea
1 changed files with 7 additions and 2 deletions
|
@ -9,8 +9,13 @@ function dotfish
|
|||
echo_progress "Updating fish config for: "
|
||||
echo_highlight "$TARGET" \n
|
||||
|
||||
if test -d $FISHCONFIG
|
||||
echo_progress "Pulling from Git..." \n
|
||||
git -C $FISHCONFIG pull
|
||||
else
|
||||
echo_progress "Cloning from Git..." \n
|
||||
git clone "https://github.com/Steffo99/.config-fish" $FISHCONFIG
|
||||
end
|
||||
|
||||
echo_progress "Fixing permissions..." \n
|
||||
chown -R "$TARGET:" $FISHCONFIG
|
||||
|
|
Loading…
Reference in a new issue