aboutsummaryrefslogtreecommitdiffhomepage
path: root/profile
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2025-06-10 09:53:46 +0800
committerHsieh Chin Fan <pham@topo.tw>2025-06-10 09:53:46 +0800
commit4cb94bca20ba138de3e80d8b7afc7b69d2bdcb2f (patch)
tree104d8a57eab17ee0a74e9bc54ea5f0714a4224b7 /profile
parent6a3a0a9af02f2defe0841901565a612fb09e6ffc (diff)
Update
Diffstat (limited to 'profile')
-rw-r--r--profile13
1 files changed, 13 insertions, 0 deletions
diff --git a/profile b/profile
index 953a8e1..3950fb7 100644
--- a/profile
+++ b/profile
@@ -15,6 +15,19 @@ export VISUAL=$EDITOR
15export TIG_EDITOR=$EDITOR 15export TIG_EDITOR=$EDITOR
16export GIT_EDITOR=$EDITOR 16export GIT_EDITOR=$EDITOR
17 17
18# IM for GUI
19export LANG="zh-CN.UTF-8"
20export LC_ALL="en_US.UTF-8"
21# fcitx
22export GTK_IM_MODULE="fcitx"
23export QT_IM_MODULE="fcitx"
24export XMODIFIERS="@im=fcitx"
25export INPUT_METHOD="fcitx"
26export XIM="fcitx"
27export XIM_PROGRAM="fcitx"
28export SDL_IM_MODULE="fcitx"
29export GLFW_IM_MODULE="ibus"
30
18# Get current shell 31# Get current shell
19shell=$(</proc/$$/cmdline sed -E 's/(.)-.+$/\1/' | tr -d '[\0\-]') 32shell=$(</proc/$$/cmdline sed -E 's/(.)-.+$/\1/' | tr -d '[\0\-]')
20export shell=${shell##*/} 33export shell=${shell##*/}