Install nvm fish plugin properly and reload

This commit is contained in:
alvinlollo
2026-07-19 21:18:23 +10:00
parent 5d2c403f3d
commit f71c4c3816
+3 -1
View File
@@ -84,10 +84,12 @@ if command -v nvm &>/dev/null; then
# Check if fish is installed first, then check for fisher # Check if fish is installed first, then check for fisher
if command -v fish &>/dev/null && fish -c "functions -q fisher" &>/dev/null; then if command -v fish &>/dev/null && fish -c "functions -q fisher" &>/dev/null; then
fisher install jorgebucaran/nvm.fish fisher install jorgebucaran/nvm.fish
source ~/.config/fish/config.fish
else else
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source
fisher install jorgebucaran/fisher fisher install jorgebucaran/fisher
source ~/.fishrc fisher install jorgebucaran/nvm.fish
source ~/.config/fish/config.fish
fi fi
elif [ "$CURRENT_SHELL" = "zsh" ] && [ -f ~/.zshrc ]; then elif [ "$CURRENT_SHELL" = "zsh" ] && [ -f ~/.zshrc ]; then