Replace nenv with nodenv

This commit is contained in:
2023-09-14 00:14:55 +08:00
parent 6f4eb81245
commit 512be28cd2

View File

@@ -76,11 +76,11 @@ if [ -z "$JENV_DISABLE" ] && [ -d "$JENV_ROOT/bin" ]; then
eval "$(jenv init -)" eval "$(jenv init -)"
fi fi
# nenv # nodenv
NENV_ROOT="${NENV_ROOT:-${HOME}/.nenv}" NODENV_ROOT="${NODENV_ROOT:-$HOME/.nodenv}"
if [ -z "$NENV_DISABLE" ] && [ -d "$NENV_ROOT/bin" ]; then if [ -z "$NODENV_DISABLE" ] && [ -d "$NODENV_ROOT/bin" ]; then
export PATH="$HOME/.nenv/bin:$PATH" export PATH="$HOME/.nodenv/bin:$PATH"
eval "$(nenv init -)" eval "$(nodenv init -)"
fi fi
# pyenv # pyenv