diff --git a/.config/zsh/zshrc.d/10-options.zsh b/.config/zsh/zshrc.d/10-options.zsh index a0860d3..c912076 100644 --- a/.config/zsh/zshrc.d/10-options.zsh +++ b/.config/zsh/zshrc.d/10-options.zsh @@ -131,6 +131,10 @@ fi # it vanishes, allowing you to briefly reuse or edit the definition. setopt HIST_NO_FUNCTIONS + # Remove superfluous blanks from each command line being added to the + # history list. + setopt HIST_REDUCE_BLANKS + # Whenever the user enters a line with history expansion, don't execute the # line directly; instead, perform history expansion and reload the line into # the editing buffer.