Skip to content
Myr

[shellcheck] remove unnecessary overrides

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jordan Harband · committed by Jordan Harband · parent 924a175 · Browse files · 1 file+0 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−3 removed

  • other:+0 added−3 removed

1 file+0 added−3 removed

modified:nvm.sh-3 removed
19 unmodified lines
20 command printf %s\\n "$*" 2>/dev/null21}2223nvm_cd() {24 # shellcheck disable=SC1001,SC216424 \cd "$@"25}2627nvm_err() {
13 unmodified lines
41}4243nvm_is_alias() {44 # this is intentionally not "command alias" so it works in zsh.46 # shellcheck disable=SC100145 \alias "${1-}" >/dev/null 2>&146}4748nvm_command_info() {
208 unmodified lines
257 if [ -n "${BASH_SOURCE-}" ]; then258 # shellcheck disable=SC2169259 NVM_SCRIPT_SOURCE="${BASH_SOURCE[0]}"260 fi263 # shellcheck disable=SC1001261 NVM_DIR="$(nvm_cd ${NVM_CD_FLAGS} "$(dirname "${NVM_SCRIPT_SOURCE:-$0}")" >/dev/null && \pwd)"262 export NVM_DIR263else264 # https://unix.stackexchange.com/a/198289
3382 unmodified lines