Remove nvm usage for bash.

This commit is contained in:
Gea-Suan Lin
2024-01-13 15:19:25 +08:00
parent e26c12ae92
commit c694795eeb

View File

@@ -20,9 +20,6 @@ if [ -d "${PYENV_ROOT}" ]; then
eval "$(pyenv init - --no-rehash)"
fi
#
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --no-use # This loads nvm
#
[ -s "${HOME}/.fnm/fnm" ] && eval "$(${HOME}/.fnm/fnm env)" && export PATH="${HOME}/.fnm:${PATH}"
#
if [ -d "${HOME}/.rbenv" ]; then