summaryrefslogtreecommitdiffstats
path: root/.bash_profile
blob: 3a3e65f88faf96414c757c8a3a42e787308e1420 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# bash profile

PATH=$PATH:~/.local/bin

export HISTFILE=~/.local/share/bash/history
export LESSHISTFILE=-
export EDITOR=nvim
export VISUAL=$EDITOR
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket
export PASSWORD_STORE_DIR=~/.local/share/pass
export PASSWORD_STORE_GENERATED_LENGTH=16
export MAIL=~/.mail
export XAUTHORITY=$XDG_RUNTIME_DIR/Xauthority
export EXECJS_RUNTIME=MiniRacer

[[ -f ~/.bashrc ]] && . ~/.bashrc

if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
  exec startx
fi