~/.profile replaces ~/.bash_profile.
This commit is contained in:
parent
2a7a09aa2a
commit
b93dfe71c0
1 changed files with 17 additions and 0 deletions
17
.profile
Normal file
17
.profile
Normal 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
|
Loading…
Reference in a new issue