rm unnecessary shift

This commit is contained in:
Michael Bradley, Jr 2018-07-25 16:45:00 -05:00
parent ba486ee0c4
commit cc1a63c096
1 changed files with 1 additions and 1 deletions

View File

@ -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)