diff --git a/bashrc b/bashrc index 338d38a..530f30c 100644 --- a/bashrc +++ b/bashrc @@ -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 diff --git a/profile b/profile index 3e4ab66..480daec 100644 --- a/profile +++ b/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_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