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