diff options
author | Starfall <us@starfall.systems> | 2024-01-16 14:47:47 -0600 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2024-01-16 14:47:47 -0600 |
commit | 85bbf4cd5b588305d3a9347c094f56b3dd296644 (patch) | |
tree | eee7ac7f5c0c60b1c6795a136362bcd2087300c6 | |
parent | 3640d0c3e4441229d559b812c650c7274222d9c3 (diff) |
zsh: setopt hist_reduce_blanks
-rw-r--r-- | .config/zsh/history.zsh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/zsh/history.zsh b/.config/zsh/history.zsh index edfc9e1..be23491 100644 --- a/.config/zsh/history.zsh +++ b/.config/zsh/history.zsh @@ -7,6 +7,7 @@ SAVEHIST=$HISTSIZE setopt hist_ignore_space # add leading space to hide from history setopt hist_ignore_dups # deduplicate commands run twice in a row setopt hist_ignore_all_dups # deduplicate entire history file +setopt hist_reduce_blanks # trim setopt hist_verify # confirm before executing setopt share_history # import all of history in new sessions |