1
0

exchange nvm with fnm in bash environment

This commit is contained in:
2024-01-19 15:41:41 +01:00
parent 3c48063146
commit 9af79370c0

View File

@@ -185,10 +185,9 @@ if [[ -x "$(command -v rustup)" ]]; then
. <(rustup completions bash)
fi
export NVM_SYMLINK_CURRENT=true
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
if [[ -x "$(command -v fnm)" ]]; then
eval "$(fnm env --use-on-cd)"
fi
# Fuzzy search
source /usr/share/doc/fzf/examples/key-bindings.bash