Drop fast-syntax-highlighting due to being wrong

When using `git` aliases, the alias would be highlighted red by
fast-syntax-highlighting even though the alias is valid so remove it and
go back to zsh-syntax-highlighting instead.
This commit is contained in:
Kenneth Benzie 2019-05-02 12:07:54 +01:00
parent a095e9383c
commit 4b2b0d38c7
3 changed files with 4 additions and 6 deletions

View File

@ -28,7 +28,7 @@
- repo: - repo:
- https://github.com/zsh-users/zsh-autosuggestions.git - https://github.com/zsh-users/zsh-autosuggestions.git
- https://github.com/zsh-users/zsh-history-substring-search.git - https://github.com/zsh-users/zsh-history-substring-search.git
- https://github.com/zdharma/fast-syntax-highlighting.git - https://github.com/zsh-users/zsh-syntax-highlighting.git
- https://github.com/junegunn/fzf.git - https://github.com/junegunn/fzf.git
- command: - command:
- fzf/install --bin - fzf/install --bin

View File

@ -52,8 +52,7 @@ Plugins are sourced manually and their git repositories tracked by
[conduit][conduit], no plugin manager is used. [conduit][conduit], no plugin manager is used.
* [zsh-autosuggestions][zsh-autosuggestions] Fish-like autosuggestions for zsh. * [zsh-autosuggestions][zsh-autosuggestions] Fish-like autosuggestions for zsh.
* [fast-syntax-highlighting][syntax] Optimized and extended * [zsh-syntax-highlighting][syntax] Fish shell like syntax highlighting for Zsh.
zsh-syntax-highlighting - Fish shell like syntax highlighting for Zsh.
* [zsh-history-substring-search][search] Zsh port of the Fish shell's history * [zsh-history-substring-search][search] Zsh port of the Fish shell's history
search. search.
@ -153,7 +152,7 @@ Various aliases are defined at the end of [zshrc](zshrc) for convenience.
[git-prompt]: https://github.com/olivierverdier/zsh-git-prompt [git-prompt]: https://github.com/olivierverdier/zsh-git-prompt
[zsh-autosuggestions]: https://github.com/zdharma/fast-syntax-highlighting [zsh-autosuggestions]: https://github.com/zdharma/fast-syntax-highlighting
[zsh-autoenv]: https://github.com/Tarrasch/zsh-autoenv [zsh-autoenv]: https://github.com/Tarrasch/zsh-autoenv
[syntax]: https://github.com/zdharma/fast-syntax-highlighting [syntax]: https://github.com/zsh-users/zsh-syntax-highlighting
[search]: https://github.com/zsh-users/zsh-history-substring-search [search]: https://github.com/zsh-users/zsh-history-substring-search
[vim-mode]: https://github.com/sharat87/zsh-vim-mode [vim-mode]: https://github.com/sharat87/zsh-vim-mode
[tmux]: https://tmux.github.io [tmux]: https://tmux.github.io

3
zshrc
View File

@ -19,8 +19,7 @@ ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=(end-of-line vi-end-of-line)
source-plugin zsh-history-substring-search source-plugin zsh-history-substring-search
# Command syntax highlighting # Command syntax highlighting
source-plugin fast-syntax-highlighting source-plugin zsh-syntax-highlighting
fast-theme -q ~/.config/zsh/fresh.ini
# Automatically source .enter and .exit scripts on cd # Automatically source .enter and .exit scripts on cd
source-plugin autoenv source-plugin autoenv