diff options
Diffstat (limited to 'profile.dot.link')
-rw-r--r-- | profile.dot.link | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/profile.dot.link b/profile.dot.link index ff56791..66d3153 100644 --- a/profile.dot.link +++ b/profile.dot.link @@ -99,6 +99,19 @@ if [ -d "$HOME/.xbps/usr/bin" ]; then PATH="$HOME/.xbps/usr/bin:$PATH" fi +# Add Node Version Manager into PATH +# https://www.npmjs.com/package/nhttps://www.npmjs.com/package/n +if [ -d "$HOME/.n/bin" ]; then + export N_PREFIX="$HOME/.n" + + PATH="$HOME/.n/bin:$PATH" +fi + +# NVM +# https://github.com/nvm-sh/nvm +export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm + # Export PATH export PATH=$PATH |