aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2022-05-04 15:00:22 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2022-05-04 15:00:22 +0800
commit55c142e4835a748df659ed1e67035145e7452893 (patch)
treeb29448134ebd4beea232c4e06022e403c887cf20 /tools
parentc09036806954529d5e2152869d052032ed276412 (diff)
Update
Diffstat (limited to 'tools')
-rwxr-xr-xtools/init/load-settings.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/init/load-settings.sh b/tools/init/load-settings.sh
index f87a280..861d5a8 100755
--- a/tools/init/load-settings.sh
+++ b/tools/init/load-settings.sh
@@ -10,7 +10,6 @@ source $SETTING_DIR/alias
10 10
11shell=$(</proc/$$/cmdline tr -d '\0' | tr -d '-') 11shell=$(</proc/$$/cmdline tr -d '\0' | tr -d '-')
12shell=${shell##*/} 12shell=${shell##*/}
13echo shell $shell
14 13
15# Add custom scripts into PATH 14# Add custom scripts into PATH
16BIN_DIR=$HOME/bin 15BIN_DIR=$HOME/bin
@@ -46,8 +45,8 @@ fi
46 45
47if [[ $shell == zsh ]]; then 46if [[ $shell == zsh ]]; then
48 setopt extended_glob 47 setopt extended_glob
49 fpath=( "$SETTING_DIR/zsh" "$fpath" )
50 compinit 48 compinit
49 fpath=($SETTING_DIR/zsh $fpath)
51 alias history='history -i' 50 alias history='history -i'
52 51
53 #autoload -U deer 52 #autoload -U deer