summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2014-10-24 19:51:50 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2014-10-24 19:51:50 +0200
commitfe004cf6e74eb6f5648f611ec76fca141c2fc9ed (patch)
treed5396d0b4f386035066c57828cb0fd5a9f09834c
parent60ec01326b5ebac366fe0b939262c2bf16de72ce (diff)
downloaddotfiles-fe004cf6e74eb6f5648f611ec76fca141c2fc9ed.tar.gz
dotfiles-fe004cf6e74eb6f5648f611ec76fca141c2fc9ed.tar.bz2
dotfiles-fe004cf6e74eb6f5648f611ec76fca141c2fc9ed.zip
[zsh] hist_ignore_space
-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