~/.profile replaces ~/.bash_profile.

This commit is contained in:
Luke Smith 2018-07-29 12:35:01 -04:00
parent 2a7a09aa2a
commit b93dfe71c0

17
.profile Normal file
View file

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