diff options
Diffstat (limited to 'install/fish.fish')
| -rwxr-xr-x | install/fish.fish | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/install/fish.fish b/install/fish.fish new file mode 100755 index 0000000..10df9b7 --- /dev/null +++ b/install/fish.fish @@ -0,0 +1,29 @@ +#!/bin/fish + +. (dirname (status filename))/util.fish + +install-deps git starship fastfetch + +set -l dist $C_DATA/fish + +# Update/Clone repo +update-repo fish $dist + +# Install fish config +confirm-overwrite $CONFIG/fish/config.fish +ln -s $dist/config.fish $CONFIG/fish/config.fish + +# Install fish greeting +confirm-overwrite $CONFIG/fish/functions/fish_greeting.fish +mkdir -p $CONFIG/fish/functions +ln -s $dist/fish_greeting.fish $CONFIG/fish/functions/fish_greeting.fish + +# Install starship config +confirm-overwrite $CONFIG/starship.toml +ln -s $dist/starship.toml $CONFIG/starship.toml + +# Install fastfetch config +confirm-overwrite $CONFIG/fastfetch/config.jsonc +ln -s $dist/fastfetch.jsonc $CONFIG/fastfetch/config.jsonc + +log 'Done.' |