bashrc sourced in profile after var sets

This commit is contained in:
Luke Smith 2018-07-31 15:34:17 -04:00
parent 0f632bc0a9
commit 9df046c5a8

View file

@ -2,8 +2,6 @@
# Profile file. Runs on login.
[[ -f ~/.bashrc ]] && . ~/.bashrc
export PATH="$PATH:$HOME/.scripts"
export EDITOR="vim"
export TERMINAL="st"
@ -11,6 +9,8 @@ export BROWSER="firefox"
export READER="zathura"
export BIB="$HOME/Documents/LaTeX/uni.bib"
[[ -f ~/.bashrc ]] && . ~/.bashrc
# Start graphical server if i3 not already running.
if [[ "$(tty)" = "/dev/tty1" ]]; then
pgrep -x i3 || exec startx