mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
Source nvm
This commit is contained in:
parent
e1c0c7bac1
commit
34e7a4d28d
@ -28,3 +28,6 @@ _zsh_nvm_install() {
|
||||
|
||||
# Install nvm if it isn't already installed
|
||||
[[ ! -f "$NVM_DIR/nvm.sh" ]] && _zsh_nvm_install
|
||||
|
||||
# If nvm is installed, source it
|
||||
[[ -f "$NVM_DIR/nvm.sh" ]] && source "$NVM_DIR/nvm.sh"
|
||||
|
Loading…
Reference in New Issue
Block a user