diff options
author | leiserfg <leiserfg@gmail.com> | 2018-12-25 23:17:15 +0100 |
---|---|---|
committer | leiserfg <leiserfg@gmail.com> | 2018-12-27 14:53:39 +0100 |
commit | 318dc56ef54b7694e38b20a8f1debd3995e657f4 (patch) | |
tree | f16643e0b39850ac60c81ed5d9a96dcda95717d0 /ranger | |
parent | d2c7e7efe24e227295357249b4f6db9c5f6bd30c (diff) | |
download | ranger-318dc56ef54b7694e38b20a8f1debd3995e657f4.tar.gz |
Replace COLORTERM with 8bit for avoiding problems with truecolor.
Diffstat (limited to 'ranger')
-rwxr-xr-x | ranger/data/scope.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index 838871d7..98fd43ee 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -187,7 +187,7 @@ handle_mime() { highlight --replace-tabs="${HIGHLIGHT_TABWIDTH}" --out-format="${highlight_format}" \ --style="${HIGHLIGHT_STYLE}" --force -- "${FILE_PATH}" && exit 5 - # env COLORTERM=$pygmentize_format bat --color=always --style="plain" "${FILE_PATH}" && exit 5 + # env COLORTERM=8bit bat --color=always --style="plain" "${FILE_PATH}" && exit 5 # pygmentize -f "${pygmentize_format}" -O "style=${PYGMENTIZE_STYLE}" -- "${FILE_PATH}" && exit 5 exit 2;; |