feat(zsh): More history configuration
I might also move the history file to `$XDG_CACHE_HOME` or something.
This commit is contained in:
parent
4b6037b149
commit
89793b1a20
1 changed files with 4 additions and 0 deletions
4
.zshrc
4
.zshrc
|
@ -10,6 +10,10 @@ setopt nobeep # No beep
|
||||||
setopt appendhistory # Immediately append history instead of overwriting
|
setopt appendhistory # Immediately append history instead of overwriting
|
||||||
setopt inc_append_history
|
setopt inc_append_history
|
||||||
setopt histignorealldups # If a new command is a duplicate, remove the older one
|
setopt histignorealldups # If a new command is a duplicate, remove the older one
|
||||||
|
setopt share_history
|
||||||
|
setopt hist_expire_dups_first
|
||||||
|
setopt hist_ignore_dups
|
||||||
|
setopt hist_verify
|
||||||
setopt autocd # if only directory path is entered, cd there.
|
setopt autocd # if only directory path is entered, cd there.
|
||||||
|
|
||||||
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case insensitive tab completion
|
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case insensitive tab completion
|
||||||
|
|
Loading…
Add table
Reference in a new issue