Remove nvm loading from bashrc and profile

main
Buddy Sandidge 5 years ago
parent b825dca18c
commit 79e6ef10f8

@ -21,8 +21,3 @@ source-file ~/opt/bash/env
source-file ~/go/bin
unset -f source-file
[[ -f $HOME/.nvm/nvm.sh ]] && source $HOME/.nvm/nvm.sh
[[ -r $NVM_DIR/bash_completion ]] && source $NVM_DIR/bash_completion
[[ -x $(command -v vault) ]] && complete -C $(command -v vault) vault

@ -10,10 +10,6 @@ export XDG_CACHE_HOME=${XDG_CACHE_HOME:="$HOME/.cache"}
export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:="$HOME/.config"}
export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"}
export NVM_DIR="${XDG_CONFIG_HOME}/nvm"
[[ -f $XDG_CONFIG_HOME/user-dirs.dirs ]] && eval $(
cat $XDG_CONFIG_HOME/user-dirs.dirs | awk '/^XDG_/ {print "export " $1}')
[[ -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

Loading…
Cancel
Save