From e5cb857924b6c49cd7ab165e700286dbff12af0a Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Fri, 17 Dec 2021 01:37:48 -0600 Subject: [PATCH] switch to fnm based node management --- info/tools.yml | 7 ++++++- system/env.sh | 9 ++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/info/tools.yml b/info/tools.yml index 7150f45..8c53983 100644 --- a/info/tools.yml +++ b/info/tools.yml @@ -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 \ No newline at end of file + user: gokcehan + diff --git a/system/env.sh b/system/env.sh index fc92a84..a13e983 100644 --- a/system/env.sh +++ b/system/env.sh @@ -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"