From e0d87528f3cf00c693a45ea65f85533b7f145ebf Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sun, 24 Feb 2019 23:04:13 -0800 Subject: [PATCH] [shellcheck] remove unnecessary overrides --- nvm.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/nvm.sh b/nvm.sh index 63ab8a9..3170252 100644 --- a/nvm.sh +++ b/nvm.sh @@ -21,7 +21,6 @@ nvm_echo() { } nvm_cd() { - # shellcheck disable=SC1001,SC2164 \cd "$@" } @@ -43,7 +42,6 @@ nvm_has_non_aliased() { nvm_is_alias() { # this is intentionally not "command alias" so it works in zsh. - # shellcheck disable=SC1001 \alias "${1-}" >/dev/null 2>&1 } @@ -260,7 +258,6 @@ if [ -z "${NVM_DIR-}" ]; then # shellcheck disable=SC2169 NVM_SCRIPT_SOURCE="${BASH_SOURCE[0]}" fi - # shellcheck disable=SC1001 NVM_DIR="$(nvm_cd ${NVM_CD_FLAGS} "$(dirname "${NVM_SCRIPT_SOURCE:-$0}")" >/dev/null && \pwd)" export NVM_DIR else