Move all vars to .profile
This commit is contained in:
parent
f5459dfafc
commit
d7b30c6c43
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user