From c466ffe44abecff7fb3f0a4f3dbd20333f6af7d0 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 14 Dec 2018 09:53:41 +0100 Subject: [PATCH] Added support for nvm --- zsh/path.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zsh/path.zsh b/zsh/path.zsh index f823767..4314e73 100644 --- a/zsh/path.zsh +++ b/zsh/path.zsh @@ -11,6 +11,12 @@ if [ -d $HOME/.cargo ]; then export PATH=$HOME/.cargo/bin:$PATH fi +# Nvm path +if [ -d $OME/.nvm ]; then + export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm" + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" +fi + # LD_LIBRARY_PATH: I don't know why there is this line here but I'm too scared # to delete it export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH