Remove nvm loading from bashrc and profile
This commit is contained in:
parent
b825dca18c
commit
79e6ef10f8
5
bashrc
5
bashrc
@ -21,8 +21,3 @@ source-file ~/opt/bash/env
|
|||||||
source-file ~/go/bin
|
source-file ~/go/bin
|
||||||
|
|
||||||
unset -f source-file
|
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
|
|
||||||
|
|||||||
4
profile
4
profile
@ -10,10 +10,6 @@ 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"}
|
||||||
|
|
||||||
export NVM_DIR="${XDG_CONFIG_HOME}/nvm"
|
|
||||||
|
|
||||||
[[ -f $XDG_CONFIG_HOME/user-dirs.dirs ]] && eval $(
|
[[ -f $XDG_CONFIG_HOME/user-dirs.dirs ]] && eval $(
|
||||||
cat $XDG_CONFIG_HOME/user-dirs.dirs | awk '/^XDG_/ {print "export " $1}')
|
cat $XDG_CONFIG_HOME/user-dirs.dirs | awk '/^XDG_/ {print "export " $1}')
|
||||||
[[ -f $HOME/.bashrc ]] && source $HOME/.bashrc
|
[[ -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…
Reference in New Issue
Block a user