diff --git a/lib/history.zsh b/lib/history.zsh index 52e45bf4c..0ac587d38 100644 --- a/lib/history.zsh +++ b/lib/history.zsh @@ -35,6 +35,7 @@ setopt extended_history # record timestamp of command in HISTFILE setopt hist_expire_dups_first # delete duplicates first when HISTFILE size exceeds HISTSIZE setopt hist_ignore_dups # ignore duplicated commands history list setopt hist_ignore_space # ignore commands that start with space +setopt hist_reduce_blanks # remove superfluous blanks from commands added to history setopt hist_verify # show command with history expansion to user before running it setopt inc_append_history # add commands to HISTFILE in order of execution setopt share_history # share command history data