diff options
author | xyz <gky44px1999@gmail.com> | 2021-04-11 06:16:23 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-04-11 06:16:23 -0700 |
commit | e8fed07953a8f4c1f3f4038898485c4f8ef02bef (patch) | |
tree | 4e2103e423acc8edf5d847e66c68ec6e7ed36403 /.bash_profile | |
parent | 0795297c929cf80408a74c1889ace7d412d055fd (diff) |
simplified chinese input method & .bash_profile change
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 |