switch to fnm based node management

This commit is contained in:
Daylin Morgan 2021-12-17 01:37:48 -06:00
parent afddc0d63f
commit e5cb857924
2 changed files with 12 additions and 4 deletions

View file

@ -40,6 +40,10 @@ glab:
user: profclems
asset: Linux_x86_64.tar.gz
#node
fnm:
user: Schniz
# editing
neovim:
user: neovim
@ -54,4 +58,5 @@ gdu:
rm gdu_linux_amd64.tgz
lf:
user: gokcehan
user: gokcehan

View file

@ -50,9 +50,12 @@ fi
# ----------------
# nvm settings
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
#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 is-executable fnm; then
eval "$(fnm env)"
fi
# enhancd
export ENHANCD_DOT_ARG="up"