mirror of
https://github.com/alvinlollo/Single-install-script.git
synced 2026-07-23 02:43:26 +10:00
Install nvm fish plugin properly and reload
This commit is contained in:
+3
-1
@@ -84,10 +84,12 @@ if command -v nvm &>/dev/null; then
|
||||
# Check if fish is installed first, then check for fisher
|
||||
if command -v fish &>/dev/null && fish -c "functions -q fisher" &>/dev/null; then
|
||||
fisher install jorgebucaran/nvm.fish
|
||||
source ~/.config/fish/config.fish
|
||||
else
|
||||
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source
|
||||
fisher install jorgebucaran/fisher
|
||||
source ~/.fishrc
|
||||
fisher install jorgebucaran/nvm.fish
|
||||
source ~/.config/fish/config.fish
|
||||
fi
|
||||
|
||||
elif [ "$CURRENT_SHELL" = "zsh" ] && [ -f ~/.zshrc ]; then
|
||||
|
||||
Reference in New Issue
Block a user