aboutsummaryrefslogtreecommitdiffhomepage
path: root/zsh
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-02-08 23:38:49 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-02-08 23:38:49 +0800
commitf52d12ef243dde26904432c59e3717bd9dc8b7df (patch)
tree73fbd038141baf7875bd0170d952249f22cebb6f /zsh
parentc2f17e3706a2596c2612d70e941c6f0d0ea12fe6 (diff)
Update
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zshrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 44d41c1..636cb72 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -6,12 +6,13 @@ export SETTING_DIR=$HOME/helper
6source $SETTING_DIR/tools/init/load-settings.sh 6source $SETTING_DIR/tools/init/load-settings.sh
7fpath=($SETTING_DIR/zsh $fpath) 7fpath=($SETTING_DIR/zsh $fpath)
8 8
9# Reload zshrc
10alias .="source $0"
9 11
10# Options 12# Options
11setopt extended_glob 13setopt extended_glob
12setopt HIST_SAVE_NO_DUPS # Do not write a duplicate event to the history file. 14setopt 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
16autoload -Uz edit-command-line; zle -N edit-command-line 17autoload -Uz edit-command-line; zle -N edit-command-line
17bindkey -- "^X^E" edit-command-line 18bindkey -- "^X^E" edit-command-line