src-highlite.git - src-highlite

index : src-highlite.git
src-highlite
summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/src-hilite-lesspipe.sh.in 2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/src-hilite-lesspipe.sh.in b/src/src-hilite-lesspipe.sh.in
index 58b9b5f..eb5c3ee 100644
--- a/src/src-hilite-lesspipe.sh.in
+++ b/src/src-hilite-lesspipe.sh.in
@@ -6,6 +6,8 @@ for source in "$@"; do
source-highlight --failsafe -f esc --lang-def=changelog.lang --style-file=esc.style -i "$source" ;;
*Makefile|*makefile)
source-highlight --failsafe -f esc --lang-def=makefile.lang --style-file=esc.style -i "$source" ;;
+ *.tar|*.tgz|*.gz|*.bz2|*.xz)
+ lesspipe "$source" ;;
*) source-highlight --failsafe --infer-lang -f esc --style-file=esc.style -i "$source" ;;
esac
done
generated by cgit v1.2.3 (git 2.46.0) at 2025年10月03日 12:51:40 +0000

AltStyle によって変換されたページ (->オリジナル) /