From ed09c5f82ed5ef4932f67af72551807e13a4412d Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 7 Jul 2022 11:00:23 +0430 Subject: a lot of updates --- lesscolor.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lesscolor.sh') diff --git a/lesscolor.sh b/lesscolor.sh index 4a8dc93..108f0a6 100755 --- a/lesscolor.sh +++ b/lesscolor.sh @@ -64,9 +64,9 @@ case "$1" in *.qbs|*.slim|*.xqy|*.xquery|*.xq|*.xql|*.xqm|*.whiley|*.x10) pygmentize -f 256 -O style="$PYGMENTIZE_STYLE" "$1" | nl -b a;; *) - # interp=$(get_interp "$1") - # pygmentize -f 256 -O style="$PYGMENTIZE_STYLE" -l "$interp" "$1" | nl -b a - pygmentize -f 256 -O style="$PYGMENTIZE_STYLE" -g "$1" | nl -b a + interp=$(get_interp "$1") + pygmentize -f 256 -O style="$PYGMENTIZE_STYLE" -l "$interp" "$1" | nl -b a + # pygmentize -f 256 -O style="$PYGMENTIZE_STYLE" -g "$1" | nl -b a esac exit 0 -- cgit v1.2.3