From e8fed07953a8f4c1f3f4038898485c4f8ef02bef Mon Sep 17 00:00:00 2001 From: xyz Date: Sun, 11 Apr 2021 06:16:23 -0700 Subject: simplified chinese input method & .bash_profile change --- .bash_profile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .bash_profile (limited to '.bash_profile') 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 -- cgit v1.2.3-70-g09d2