cbd6fbe7a7c3ef260f497704092dc43f2e953c3f

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

core: enable hist_reduce_blanks

Fixes #8722

Diff

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