Protect against `cat` clobbering. Fixes #858.

Jordan Harband 2015-10-04 11:58:05 -07:00
parent ebdcdc4363
commit 06a21284ed
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -398,7 +398,7 @@ nvm_alias() {
return 2
fi
cat "$NVM_ALIAS_PATH"
command cat "$NVM_ALIAS_PATH"
}
nvm_ls_current() {