1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Prevent history-search returning duplicates

This commit is contained in:
Joe Groocock 2017-07-16 01:52:19 +01:00
parent 70dc02c7a1
commit d84371108c
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

1
.zshrc
View File

@ -54,6 +54,7 @@ source $ZSH/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
ZSH_AUTOSUGGEST_CLEAR_WIDGETS=("${(@)ZSH_AUTOSUGGEST_CLEAR_WIDGETS:#(up|down)-line-or-history}")
ZSH_AUTOSUGGEST_CLEAR_WIDGETS+=(history-substring-search-up history-substring-search-down)
setopt HIST_IGNORE_ALL_DUPS
ZSH_HIGHLIGHT_STYLES[default]='fg=blue'
ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red,bold'
ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=yellow'