aboutsummaryrefslogtreecommitdiffhomepage
path: root/profile
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2025-07-10 09:32:14 +0800
committerHsieh Chin Fan <pham@topo.tw>2025-07-10 09:32:14 +0800
commita97bf72314ee73fa69bd52523aa7160487a663f8 (patch)
tree7a12be6dadbe6d3c0bd065c6a6c163bd54a183b0 /profile
parent9339a49fcbefeacd810800da39516853ce9e3af3 (diff)
parentf51e9e8c25aa793ee5e9dcfa0582fc05689789ab (diff)
Update
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##*/}