diff options
author | Aaron N. Brock <aaron@functionize.com> | 2019-11-17 14:10:03 -0500 |
---|---|---|
committer | Aaron N. Brock <aaron@functionize.com> | 2019-11-17 14:10:03 -0500 |
commit | c194b51560039707dc375412e70b6faa0d3ceaa5 (patch) | |
tree | b485cd3d0b23efd5a7be53311d16931bdf621603 | |
parent | b776f1d20f0537cefec9b58e41933dfd04334b62 (diff) | |
download | zsh-c194b51560039707dc375412e70b6faa0d3ceaa5.tar.gz zsh-c194b51560039707dc375412e70b6faa0d3ceaa5.tar.bz2 zsh-c194b51560039707dc375412e70b6faa0d3ceaa5.zip |
Update default color to 'emacs' which both chroma & pygmentize support
-rw-r--r-- | plugins/colorize/colorize.plugin.zsh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/colorize/colorize.plugin.zsh b/plugins/colorize/colorize.plugin.zsh index 2335113d5..8edf81d54 100644 --- a/plugins/colorize/colorize.plugin.zsh +++ b/plugins/colorize/colorize.plugin.zsh @@ -28,13 +28,8 @@ colorize_via_pygmentize() { # is set, use that theme instead. Otherwise, # use the default. if [ -z $ZSH_COLORIZE_STYLE ]; then - if [[ $ZSH_COLORIZE_TOOL == "pygmentize" ]]; then - ZSH_COLORIZE_STYLE="default" - else - # Choosing 'emacs' to match pygmentize's default as per: - # https://github.com/pygments/pygments/blob/master/pygments/styles/default.py#L19 - ZSH_COLORIZE_STYLE="emacs" - fi + # Both pygmentize & chroma support 'emacs' + ZSH_COLORIZE_STYLE="emacs" fi # pygmentize stdin if no arguments passed |