mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
Update default color to 'emacs' which both chroma & pygmentize support
This commit is contained in:
parent
b776f1d20f
commit
c194b51560
1 changed files with 2 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue