Commit c194b515 authored by Aaron N. Brock's avatar Aaron N. Brock
Browse files

Update default color to 'emacs' which both chroma & pygmentize support

parent b776f1d2
......@@ -28,14 +28,9 @@ 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
# Both pygmentize & chroma support 'emacs'
ZSH_COLORIZE_STYLE="emacs"
fi
fi
# pygmentize stdin if no arguments passed
if [ $# -eq 0 ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment