Better HN
topnewbestaskshowjobs
Log inSign up

zshhasoptions

4 karma · joined Jan 16, 2014 (12y ago) · 1 submissions

Submissions

comment 12y ago · link · parent

try adding setopt HIST_SAVE_NO_DUPS to your .zshrc

you could also have a look at HIST_FIND_NO_DUPS and HIST_IGNORE_ALL_DUPS (more options at http://zsh.sourceforge.net/Doc/Release/Options.html )

If you still use bash, now is a good time to upgrade to zsh