diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/init/load-settings.sh | 3 |
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 | ||
11 | shell=$(</proc/$$/cmdline tr -d '\0' | tr -d '-') | 11 | shell=$(</proc/$$/cmdline tr -d '\0' | tr -d '-') |
12 | shell=${shell##*/} | 12 | shell=${shell##*/} |
13 | echo shell $shell | ||
14 | 13 | ||
15 | # Add custom scripts into PATH | 14 | # Add custom scripts into PATH |
16 | BIN_DIR=$HOME/bin | 15 | BIN_DIR=$HOME/bin |
@@ -46,8 +45,8 @@ fi | |||
46 | 45 | ||
47 | if [[ $shell == zsh ]]; then | 46 | if [[ $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 |