Move all vars to .profile

This commit is contained in:
Jeremy Dormitzer 2019-08-30 12:00:31 -04:00
parent f5459dfafc
commit d7b30c6c43
3 changed files with 7 additions and 7 deletions

View File

@ -7,6 +7,3 @@
[[ -f "$HOME/.bash_local" ]] && source "$HOME/.bash_local"
[[ -f "$HOME/.profile" ]] && source "$HOME/.profile"
export PATH="$HOME/.cargo/bin:$PATH"
export WORKON_HOME="$HOME/.local/share/virtualenvs"

View File

@ -13,9 +13,6 @@ then
source /usr/share/nvm/init-nvm.sh
fi
GPG_TTY=$(tty)
export GPG_TTY
if [ -x "$(command -v direnv)" ];
then
eval "$(direnv hook bash)"
@ -25,7 +22,6 @@ alias edit="$(which emacsclient) "
if [ -d "$HOME/.nvm" ];
then
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
fi

View File

@ -12,3 +12,10 @@ EDITOR="$(which emacsclient)"
export EDITOR
export PATH="$HOME/.cargo/bin:$PATH"
export NVM_DIR="$HOME/.nvm"
export WORKON_HOME="$HOME/.local/share/virtualenvs"
GPG_TTY=$(tty)
export GPG_TTY