summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorleiserfg <leiserfg@gmail.com>2018-12-25 23:17:15 +0100
committerleiserfg <leiserfg@gmail.com>2018-12-27 14:53:39 +0100
commit318dc56ef54b7694e38b20a8f1debd3995e657f4 (patch)
treef16643e0b39850ac60c81ed5d9a96dcda95717d0 /ranger
parentd2c7e7efe24e227295357249b4f6db9c5f6bd30c (diff)
downloadranger-318dc56ef54b7694e38b20a8f1debd3995e657f4.tar.gz
Replace COLORTERM with 8bit for avoiding problems with truecolor.
Diffstat (limited to 'ranger')
-rwxr-xr-xranger/data/scope.sh2
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;;