zsh: fix: Reorder plugins in zshrc so that zsh-history-substring-search will highlight text
This commit is contained in:
12
.zshrc
12
.zshrc
@@ -51,14 +51,14 @@ zinit ice depth=1; zinit light romkatv/powerlevel10k
|
|||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
|
||||||
# zsh-history-substring-search
|
|
||||||
zinit light zsh-users/zsh-history-substring-search
|
|
||||||
bindkey '^[[A' history-substring-search-up
|
|
||||||
bindkey '^[[B' history-substring-search-down
|
|
||||||
export HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=true
|
|
||||||
|
|
||||||
# zsh-autosuggestions
|
# zsh-autosuggestions
|
||||||
zinit light zsh-users/zsh-autosuggestions
|
zinit light zsh-users/zsh-autosuggestions
|
||||||
|
|
||||||
# zsh-syntax-highlighting
|
# zsh-syntax-highlighting
|
||||||
zinit light zsh-users/zsh-syntax-highlighting
|
zinit light zsh-users/zsh-syntax-highlighting
|
||||||
|
|
||||||
|
# zsh-history-substring-search
|
||||||
|
zinit light zsh-users/zsh-history-substring-search
|
||||||
|
bindkey '^[[A' history-substring-search-up
|
||||||
|
bindkey '^[[B' history-substring-search-down
|
||||||
|
export HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=true
|
||||||
|
|||||||
Reference in New Issue
Block a user