From d7b30c6c43c4db763e9df5ce1cc059e363b2baf1 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 30 Aug 2019 12:00:31 -0400 Subject: [PATCH] Move all vars to .profile --- bash/.bash_profile | 3 --- bash/.bashrc | 4 ---- bash/.profile | 7 +++++++ 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bash/.bash_profile b/bash/.bash_profile index 50f25f4..0c714a9 100644 --- a/bash/.bash_profile +++ b/bash/.bash_profile @@ -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" diff --git a/bash/.bashrc b/bash/.bashrc index c7d7be1..7beb658 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -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 diff --git a/bash/.profile b/bash/.profile index 392f3a5..07b6552 100644 --- a/bash/.profile +++ b/bash/.profile @@ -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