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 user: profclems
asset: Linux_x86_64.tar.gz asset: Linux_x86_64.tar.gz
#node
fnm:
user: Schniz
# editing # editing
neovim: neovim:
user: neovim user: neovim
@ -54,4 +58,5 @@ gdu:
rm gdu_linux_amd64.tgz rm gdu_linux_amd64.tgz
lf: lf:
user: gokcehan user: gokcehan

View file

@ -50,9 +50,12 @@ fi
# ---------------- # ----------------
# nvm settings # nvm settings
export NVM_DIR="$HOME/.nvm" #export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads 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 #[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
if is-executable fnm; then
eval "$(fnm env)"
fi
# enhancd # enhancd
export ENHANCD_DOT_ARG="up" export ENHANCD_DOT_ARG="up"