# HG changeset patch # User zegervdv # Date 1643272073 -3600 # Node ID 87f5a409ee833b47c3c1b503e0021c758f05b60f # Parent f10b89e9aff3103cd4ccae34fca2d585b86385d7 Add zsh syntax highlighting in shell diff -r f10b89e9aff3 -r 87f5a409ee83 .chezmoiexternal.toml --- a/.chezmoiexternal.toml Wed Jan 26 11:58:32 2022 +0100 +++ b/.chezmoiexternal.toml Thu Jan 27 09:27:53 2022 +0100 @@ -34,6 +34,13 @@ url = "https://github.com/zsh-users/zsh-autosuggestions/raw/master/zsh-autosuggestions.zsh" refreshPeriod = "168h" +[".zsh/fast-syntax-highlighting"] + type = "archive" + url = "https://github.com/zdharma-continuum/fast-syntax-highlighting/archive/master.tar.gz" + exact = true + stripComponents = 1 + refreshPeriod = "168h" + [".zsh/completions/_fd"] type = "file" url = "https://github.com/sharkdp/fd/raw/master/contrib/completion/_fd" diff -r f10b89e9aff3 -r 87f5a409ee83 dot_zshrc --- a/dot_zshrc Wed Jan 26 11:58:32 2022 +0100 +++ b/dot_zshrc Thu Jan 27 09:27:53 2022 +0100 @@ -5,6 +5,8 @@ source ~/.zsh/zsh-autosuggestions.zsh +source ~/.zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh + fpath=(~/.zsh/completions $fpath) export TERM=xterm-256color