From 79e6ef10f86cb5dd737988fc4952e39a4b933535 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Wed, 29 Apr 2020 23:14:19 -0700 Subject: [PATCH] Remove nvm loading from bashrc and profile --- bashrc | 5 ----- profile | 4 ---- 2 files changed, 9 deletions(-) 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