Use fast-syntax-highlighting
Replace zsh-syntax-highlighting plugin with the improved fast-syntax-highlighting, faster and more accurate.
This commit is contained in:
parent
128cc3c57a
commit
64dcee0d78
@ -19,7 +19,7 @@
|
||||
- repo:
|
||||
- https://github.com/zsh-users/zsh-autosuggestions.git
|
||||
- https://github.com/zsh-users/zsh-history-substring-search.git
|
||||
- https://github.com/zsh-users/zsh-syntax-highlighting.git
|
||||
- https://github.com/zdharma/fast-syntax-highlighting.git
|
||||
- pip:
|
||||
- --user pick
|
||||
- message: zsh will be the default prompt after next login
|
||||
|
19
zshrc
19
zshrc
@ -9,15 +9,24 @@ source-plugin() {
|
||||
echo "zsh plugin not found: $1"
|
||||
fi
|
||||
}
|
||||
source-plugin zsh-autosuggestions
|
||||
source-plugin zsh-history-substring-search
|
||||
source-plugin zsh-syntax-highlighting
|
||||
source-plugin autoenv
|
||||
source-plugin build
|
||||
|
||||
# Fish like automatic suggestions from command history
|
||||
source-plugin zsh-autosuggestions
|
||||
# Disable non end-of-line autosuggest accept widgets
|
||||
ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=(end-of-line vi-end-of-line)
|
||||
|
||||
# Search history with a command substring
|
||||
source-plugin zsh-history-substring-search
|
||||
|
||||
# Command syntax highlighting
|
||||
source-plugin fast-syntax-highlighting
|
||||
|
||||
# Automatically source .enter and .exit scripts on cd
|
||||
source-plugin autoenv
|
||||
|
||||
# Build system helper commands
|
||||
source-plugin build
|
||||
|
||||
# Remove duplicates from history
|
||||
setopt hist_ignore_all_dups
|
||||
setopt hist_reduce_blanks
|
||||
|
Loading…
x
Reference in New Issue
Block a user