summaryrefslogtreecommitdiff
path: root/install/fish.fish
diff options
context:
space:
mode:
Diffstat (limited to 'install/fish.fish')
-rwxr-xr-xinstall/fish.fish12
1 files changed, 4 insertions, 8 deletions
diff --git a/install/fish.fish b/install/fish.fish
index 10df9b7..ca1d186 100755
--- a/install/fish.fish
+++ b/install/fish.fish
@@ -10,20 +10,16 @@ set -l dist $C_DATA/fish
update-repo fish $dist
# Install fish config
-confirm-overwrite $CONFIG/fish/config.fish
-ln -s $dist/config.fish $CONFIG/fish/config.fish
+install-link $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-link $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-link $dist/starship.toml $CONFIG/starship.toml
# Install fastfetch config
-confirm-overwrite $CONFIG/fastfetch/config.jsonc
-ln -s $dist/fastfetch.jsonc $CONFIG/fastfetch/config.jsonc
+install-link $dist/fastfetch.jsonc $CONFIG/fastfetch/config.jsonc
log 'Done.'