feat: prepending space removes command from zsh history

This commit is contained in:
Flinner 2022-03-11 23:47:28 +03:00
parent edebe2510e
commit ce981c9e1b
Signed by: flinner
GPG Key ID: 95CE0DA7F0E58CA6
1 changed files with 1 additions and 0 deletions

View File

@ -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_SPACE # Remove commands from history when the first character is a space
setopt HIST_SAVE_NO_DUPS # do not save duplicated command
setopt HIST_REDUCE_BLANKS # remove unnecessary blanks
setopt INC_APPEND_HISTORY_TIME # append command to history file immediately after execution