mirror of
https://github.com/alvinlollo/Single-install-script.git
synced 2026-07-22 10:51:02 +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
|
# 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
|
||||||
|
|||||||
Reference in New Issue
Block a user