aboutsummaryrefslogtreecommitdiffhomepage
path: root/profile
diff options
context:
space:
mode:
Diffstat (limited to 'profile')
-rw-r--r--profile13
1 files changed, 13 insertions, 0 deletions
diff --git a/profile b/profile
index 3af0b9c..03b8f9b 100644
--- a/profile
+++ b/profile
@@ -16,6 +16,19 @@ export VISUAL=$EDITOR
16export TIG_EDITOR=$EDITOR 16export TIG_EDITOR=$EDITOR
17export GIT_EDITOR=$EDITOR 17export GIT_EDITOR=$EDITOR
18 18
19# IM for GUI
20export LANG="zh-CN.UTF-8"
21export LC_ALL="en_US.UTF-8"
22# fcitx
23export GTK_IM_MODULE="fcitx"
24export QT_IM_MODULE="fcitx"
25export XMODIFIERS="@im=fcitx"
26export INPUT_METHOD="fcitx"
27export XIM="fcitx"
28export XIM_PROGRAM="fcitx"
29export SDL_IM_MODULE="fcitx"
30export GLFW_IM_MODULE="ibus"
31
19# Get current shell 32# Get current shell
20shell=$(</proc/$$/cmdline sed -E 's/(.)-.+$/\1/' | tr -d '[\0\-]') 33shell=$(</proc/$$/cmdline sed -E 's/(.)-.+$/\1/' | tr -d '[\0\-]')
21export shell=${shell##*/} 34export shell=${shell##*/}