summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zsh/zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.zsh/zshrc b/.zsh/zshrc
index dc7ac2b..88baa18 100644
--- a/.zsh/zshrc
+++ b/.zsh/zshrc
@@ -288,6 +288,7 @@ setopt inc_append_history # append incrementally instead of waiting until the sh
setopt share_history # share the history between sessions
setopt hist_verify # for history related commands: reload the expanded version instead of executing it directly
setopt hist_no_functions # do not store function definitions
+setopt hist_ignore_space # do not store lines starting with ' '
setopt hist_ignore_dups # ignore duplicates
setopt hist_ignore_all_dups # ignore _all_ duplicates