From 9af79370c07afd6b3f526152b211077f7e17de0f Mon Sep 17 00:00:00 2001 From: Karsten Hachmeister Date: Fri, 19 Jan 2024 15:41:41 +0100 Subject: [PATCH] exchange nvm with fnm in bash environment --- .bashrc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.bashrc b/.bashrc index db3289a..d70c65e 100644 --- a/.bashrc +++ b/.bashrc @@ -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