zsh: feat: Add zsh-syntax-highlighting

This commit is contained in:
PorridgePi
2021-11-21 17:24:08 +08:00
parent 4b9f172f43
commit 6cc1a5f4e9

5
.zshrc
View File

@@ -55,4 +55,7 @@ zinit ice depth=1; zinit light romkatv/powerlevel10k
zinit light zsh-users/zsh-history-substring-search zinit light zsh-users/zsh-history-substring-search
bindkey '^[[A' history-substring-search-up bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down bindkey '^[[B' history-substring-search-down
export HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=true export HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=true
# zsh-syntax-highlighting
zinit light zsh-users/zsh-syntax-highlighting