exchange nvm with fnm in bash environment
This commit is contained in:
1 parent
3c48063146
commit
9af79370c0
1 file changed
+3
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user