From 4f626eac0d6b1d4a411b890bad3b0b9b8b576946 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Tue, 16 May 2017 22:58:26 -0700 Subject: [PATCH] =?UTF-8?q?[Fix]=20`set=20-u`:=20when=20`ALIAS`=20is=20uns?= =?UTF-8?q?et,=20don=E2=80=99t=20reference=20an=20unbound=20variable.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #1526. --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index 88d391f..f4769de 100644 --- a/nvm.sh +++ b/nvm.sh @@ -3145,7 +3145,7 @@ nvm() { unset ALIAS fi - nvm_list_aliases "${ALIAS}" + nvm_list_aliases "${ALIAS-}" fi ;; "unalias" )