mirror of https://github.com/Flinner/dots.git
feat: prepending space removes command from zsh history
This commit is contained in:
parent
edebe2510e
commit
ce981c9e1b
|
@ -69,6 +69,7 @@ zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
|
||||||
|
|
||||||
|
|
||||||
setopt HIST_IGNORE_ALL_DUPS # do not put duplicated command into history list
|
setopt HIST_IGNORE_ALL_DUPS # do not put duplicated command into history list
|
||||||
|
setopt HIST_IGNORE_SPACE # Remove commands from history when the first character is a space
|
||||||
setopt HIST_SAVE_NO_DUPS # do not save duplicated command
|
setopt HIST_SAVE_NO_DUPS # do not save duplicated command
|
||||||
setopt HIST_REDUCE_BLANKS # remove unnecessary blanks
|
setopt HIST_REDUCE_BLANKS # remove unnecessary blanks
|
||||||
setopt INC_APPEND_HISTORY_TIME # append command to history file immediately after execution
|
setopt INC_APPEND_HISTORY_TIME # append command to history file immediately after execution
|
||||||
|
|
Loading…
Reference in New Issue