History settings for zsh.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 14 Aug 2011 22:11:42 +0300
changeset 177 95c784cc8cbb
parent 176 88a4aa7a6e7c
child 178 8f02d11f289d
History settings for zsh.
.zshrc
--- a/.zshrc	Sun Aug 14 21:42:52 2011 +0300
+++ b/.zshrc	Sun Aug 14 22:11:42 2011 +0300
@@ -3,7 +3,12 @@
 HISTSIZE=1000
 SAVEHIST=1000
 
-setopt appendhistory autocd beep extendedglob nomatch notify
+setopt autocd beep extendedglob nomatch notify
+
+setopt hist_ignore_all_dups
+setopt append_history
+setopt hist_ignore_space
+setopt hist_no_functions
 
 # Emacs like editing.
 bindkey -e