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:
parent
70dc02c7a1
commit
d84371108c
1
.zshrc
1
.zshrc
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user