~/.profile replaces ~/.bash_profile.
This commit is contained in:
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
|
||||||
Reference in New Issue
Block a user