manually set NVM_DIR to avoid dumping .nvm to ~/.config

main
Buddy Sandidge 6 years ago
parent 4dbddfd21a
commit bba3a498f4

@ -10,5 +10,8 @@ export XDG_CACHE_HOME=${XDG_CACHE_HOME:="$HOME/.cache"}
export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:="$HOME/.config"} export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:="$HOME/.config"}
export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"} export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"}
[[ -f $HOME/.nvm/nvm.sh ]] && source $HOME/.nvm/nvm.sh export NVM_DIR="${XDG_CONFIG_HOME}/nvm"
[[ -f $HOME/.bashrc ]] && source $HOME/.bashrc
[[ -f $NVM_DIR/nvm.sh ]] && source $NVM_DIR/nvm.sh
[[ -r $NVM_DIR/bash_completion ]] && source $NVM_DIR/bash_completion [[ -r $NVM_DIR/bash_completion ]] && source $NVM_DIR/bash_completion

Loading…
Cancel
Save