diff --git a/zsh/path.zsh b/zsh/path.zsh index c4ded94..ed91faa 100644 --- a/zsh/path.zsh +++ b/zsh/path.zsh @@ -13,8 +13,8 @@ fi # Nvm path if [ -d $HOME/.nvm ]; then - export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm" - [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" + export NVM_DIR="$HOME/.nvm" + source $NVM_DIR/nvm.sh fi # LD_LIBRARY_PATH: I don't know why there is this line here but I'm too scared