diff options
Diffstat (limited to '.bash_profile')
-rw-r--r-- | .bash_profile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 00000000..34b767f1 --- /dev/null +++ b/.bash_profile @@ -0,0 +1,16 @@ +# +# ~/.bash_profile +# + +[[ -f ~/.bashrc ]] && . ~/.bashrc + +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_CACHE_HOME="$HOME/.cache" +export XDG_DATA_HOME="$HOME/.local/share" +export SSH_AUTH_SOCK="XDG_RUNTIME_DIR/ssh-agent.socket" +export MANPAGER='nvim +Man!' + +# startx when login, should be put after environmental variables so .xinitrc can use $XDG_CONFIG_HOME +if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then + exec startx +fi |