From 06a21284ed200aea7cee4d7a9c78e356184356b8 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sun, 4 Oct 2015 11:58:05 -0700 Subject: [PATCH] Protect against `cat` clobbering. Fixes #858. --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index ce73a06..1877749 100755 --- a/nvm.sh +++ b/nvm.sh @@ -398,7 +398,7 @@ nvm_alias() { return 2 fi - cat "$NVM_ALIAS_PATH" + command cat "$NVM_ALIAS_PATH" } nvm_ls_current() {