[Zsh] history ignore dups

This commit is contained in:
Mathieu Maret 2010-04-15 13:57:16 +02:00
parent 1e36da76c0
commit 226cfc0303

View File

@ -3,7 +3,9 @@ HISTFILE=~/.histfile
HISTSIZE=10000 HISTSIZE=10000
SAVEHIST=10000 SAVEHIST=10000
export HISTTIMEFORMAT="%h/%d - %H:%M:%S " export HISTTIMEFORMAT="%h/%d - %H:%M:%S "
export HISTCONTROL=”ignoredups” #export HISTCONTROL=ignoredups
export HISTCONTROL=erasedups
#export HISTIGNORE=”&:ls:[bf]g:exit” #export HISTIGNORE=”&:ls:[bf]g:exit”
setopt -h histappend setopt -h histappend
PROMPT_COMMAND='history -a' PROMPT_COMMAND='history -a'