From 226cfc0303d875246580ccbc2d003db6be33baff Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Thu, 15 Apr 2010 13:57:16 +0200 Subject: [PATCH] [Zsh] history ignore dups --- .zsh/00_basic.zsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.zsh/00_basic.zsh b/.zsh/00_basic.zsh index acd0e19..566016f 100644 --- a/.zsh/00_basic.zsh +++ b/.zsh/00_basic.zsh @@ -3,7 +3,9 @@ HISTFILE=~/.histfile HISTSIZE=10000 SAVEHIST=10000 export HISTTIMEFORMAT="%h/%d - %H:%M:%S " -export HISTCONTROL=”ignoredups” +#export HISTCONTROL=ignoredups +export HISTCONTROL=erasedups + #export HISTIGNORE=”&:ls:[bf]g:exit” setopt -h histappend PROMPT_COMMAND='history -a'