diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-02-08 23:38:49 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-02-08 23:38:49 +0800 |
commit | f52d12ef243dde26904432c59e3717bd9dc8b7df (patch) | |
tree | 73fbd038141baf7875bd0170d952249f22cebb6f /zsh/zshrc | |
parent | c2f17e3706a2596c2612d70e941c6f0d0ea12fe6 (diff) |
Update
Diffstat (limited to 'zsh/zshrc')
-rw-r--r-- | zsh/zshrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6,12 +6,13 @@ export SETTING_DIR=$HOME/helper | |||
6 | source $SETTING_DIR/tools/init/load-settings.sh | 6 | source $SETTING_DIR/tools/init/load-settings.sh |
7 | fpath=($SETTING_DIR/zsh $fpath) | 7 | fpath=($SETTING_DIR/zsh $fpath) |
8 | 8 | ||
9 | # Reload zshrc | ||
10 | alias .="source $0" | ||
9 | 11 | ||
10 | # Options | 12 | # Options |
11 | setopt extended_glob | 13 | setopt extended_glob |
12 | setopt HIST_SAVE_NO_DUPS # Do not write a duplicate event to the history file. | 14 | setopt HIST_SAVE_NO_DUPS # Do not write a duplicate event to the history file. |
13 | 15 | ||
14 | |||
15 | # Edit Command Line | 16 | # Edit Command Line |
16 | autoload -Uz edit-command-line; zle -N edit-command-line | 17 | autoload -Uz edit-command-line; zle -N edit-command-line |
17 | bindkey -- "^X^E" edit-command-line | 18 | bindkey -- "^X^E" edit-command-line |