fix: nvm/node init
This commit is contained in:
@@ -3,7 +3,7 @@ fish --version
|
||||
|
||||
current_shell=`grep "^$USER" /etc/passwd`
|
||||
current_shell=${current_shell##*:}
|
||||
fish_shell=`which fish`
|
||||
fish_shell=`command -v fish`
|
||||
if [[ "$current_shell" != "$fish_shell" ]]; then
|
||||
sudo usermod --shell "$fish_shell" "$USER"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user