switch to fnm based node management
This commit is contained in:
parent
afddc0d63f
commit
e5cb857924
2 changed files with 12 additions and 4 deletions
|
@ -40,6 +40,10 @@ glab:
|
|||
user: profclems
|
||||
asset: Linux_x86_64.tar.gz
|
||||
|
||||
#node
|
||||
fnm:
|
||||
user: Schniz
|
||||
|
||||
# editing
|
||||
neovim:
|
||||
user: neovim
|
||||
|
@ -55,3 +59,4 @@ gdu:
|
|||
|
||||
lf:
|
||||
user: gokcehan
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue