diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-02-07 13:22:16 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-02-07 13:22:16 +0800 |
commit | 97c130cef1e672418db2317a0dfee88567475c03 (patch) | |
tree | d6879ce1dcdd97ae13f7973b9f7736048d34a363 /tools | |
parent | 7282d0f78a0aa3b8939869cdc89c60fc5e6efd1f (diff) |
update
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/init/load-settings.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/init/load-settings.sh b/tools/init/load-settings.sh index 68844c1..779ef45 100755 --- a/tools/init/load-settings.sh +++ b/tools/init/load-settings.sh | |||
@@ -5,6 +5,9 @@ export EDITOR=vim | |||
5 | source $SETTING_DIR/alias | 5 | source $SETTING_DIR/alias |
6 | [[ -d $SETTING_DIR/private ]] && for f in $SETTING_DIR/private/*; do source $f; done | 6 | [[ -d $SETTING_DIR/private ]] && for f in $SETTING_DIR/private/*; do source $f; done |
7 | 7 | ||
8 | # set caps as ctrl under X | ||
9 | setxkbmap -option ctrl:nocaps 2>/dev/null | ||
10 | |||
8 | # Config shell | 11 | # Config shell |
9 | shell=$(cat /proc/$$/cmdline | tr -d '\0') | 12 | shell=$(cat /proc/$$/cmdline | tr -d '\0') |
10 | case $shell in | 13 | case $shell in |