rm unnecessary shift
This commit is contained in:
parent
ba486ee0c4
commit
cc1a63c096
|
@ -83,7 +83,7 @@ nvm_load () {
|
||||||
alias nvm='__nvm_mask'
|
alias nvm='__nvm_mask'
|
||||||
__nvm_mask () {
|
__nvm_mask () {
|
||||||
case "$*" in
|
case "$*" in
|
||||||
unload*) shift 1; __nvm_unload;;
|
unload*) __nvm_unload;;
|
||||||
*) unalias nvm; nvm "$@"; alias nvm='__nvm_mask';;
|
*) unalias nvm; nvm "$@"; alias nvm='__nvm_mask';;
|
||||||
esac
|
esac
|
||||||
export NODE_VERSION=$(node --version)
|
export NODE_VERSION=$(node --version)
|
||||||
|
|
Loading…
Reference in New Issue