diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2025-06-10 09:53:46 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2025-06-10 09:53:46 +0800 |
| commit | 4cb94bca20ba138de3e80d8b7afc7b69d2bdcb2f (patch) | |
| tree | 104d8a57eab17ee0a74e9bc54ea5f0714a4224b7 | |
| parent | 6a3a0a9af02f2defe0841901565a612fb09e6ffc (diff) | |
Update
| -rw-r--r-- | profile | 13 |
1 files changed, 13 insertions, 0 deletions
| @@ -15,6 +15,19 @@ export VISUAL=$EDITOR | |||
| 15 | export TIG_EDITOR=$EDITOR | 15 | export TIG_EDITOR=$EDITOR |
| 16 | export GIT_EDITOR=$EDITOR | 16 | export GIT_EDITOR=$EDITOR |
| 17 | 17 | ||
| 18 | # IM for GUI | ||
| 19 | export LANG="zh-CN.UTF-8" | ||
| 20 | export LC_ALL="en_US.UTF-8" | ||
| 21 | # fcitx | ||
| 22 | export GTK_IM_MODULE="fcitx" | ||
| 23 | export QT_IM_MODULE="fcitx" | ||
| 24 | export XMODIFIERS="@im=fcitx" | ||
| 25 | export INPUT_METHOD="fcitx" | ||
| 26 | export XIM="fcitx" | ||
| 27 | export XIM_PROGRAM="fcitx" | ||
| 28 | export SDL_IM_MODULE="fcitx" | ||
| 29 | export GLFW_IM_MODULE="ibus" | ||
| 30 | |||
| 18 | # Get current shell | 31 | # Get current shell |
| 19 | shell=$(</proc/$$/cmdline sed -E 's/(.)-.+$/\1/' | tr -d '[\0\-]') | 32 | shell=$(</proc/$$/cmdline sed -E 's/(.)-.+$/\1/' | tr -d '[\0\-]') |
| 20 | export shell=${shell##*/} | 33 | export shell=${shell##*/} |