move exports to .profile file

This commit is contained in:
creme 2019-08-09 01:06:07 +02:00
parent 5f97232494
commit 6721bef2ad
Signed by untrusted user: creme
GPG Key ID: C147C3B7FBDF08D0
2 changed files with 9 additions and 8 deletions

View File

@ -118,13 +118,5 @@ if ! shopt -oq posix; then
fi
fi
## defaults ##
export GPG_TTY=$(tty)
# envs
export PATH=$PATH:/envs/bin
#bbj
export BBJ_USER=$USER
## includes ##
[ -f ~/.fzf.bash ] && source ~/.fzf.bash

View File

@ -26,6 +26,15 @@ if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
## defaults ##
export GPG_TTY=$(tty)
# envs
export PATH=$PATH:/envs/bin
#bbj
export BBJ_USER=$USER
if [[ ! $TERM =~ screen ]] || [[ ! $TMUX =~ tmux ]]; then
_byobu_sourced=1 . /usr/bin/byobu-launch 2>/dev/null || true
fi