X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=5225f81f9538adca167538d899266b1f26b43c64;hb=b7cea1ced5fbda4087065c55e7fb65e128a02ea1;hp=f5088f69b3e62a049c3bf0e84c5fab87fae4115a;hpb=fb6dc41fca192a4c88330c11ead8f958e9c92de7;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index f5088f6..5225f81 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3638,9 +3638,9 @@ if check_com -c highlight ; then lang=${1%:*} [[ ${1} == *:* ]] && [[ -n ${1#*:} ]] && theme=${1#*:} if [[ -n ${theme} ]] ; then - highlight --xterm256 --syntax ${lang} --style ${theme} ${2} | less -SMr + highlight -O xterm256 --syntax ${lang} --style ${theme} ${2} | less -SMr else - highlight --ansi --syntax ${lang} ${2} | less -SMr + highlight -O ansi --syntax ${lang} ${2} | less -SMr fi ;; esac