author | Matthew Hall <mhall@mhcomputing.net> | 2020年08月04日 12:48:26 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024年01月20日 09:32:40 -0700 |
commit | 894cacd0799ca60afa359a63782729dec76cbb79 (patch) | |
tree | adba1cb1e3984c1ef36e91fb25b52c4470a1d2bd | |
parent | 8be2bee7f6861fd27d5c181b15d3126fc7dbf73b (diff) | |
download | src-highlite-894cacd0799ca60afa359a63782729dec76cbb79.tar.gz |
-rw-r--r-- | src/src-hilite-lesspipe.sh.in | 2 |
diff --git a/src/src-hilite-lesspipe.sh.in b/src/src-hilite-lesspipe.sh.in index 76231c7..d7ca2fb 100644 --- a/src/src-hilite-lesspipe.sh.in +++ b/src/src-hilite-lesspipe.sh.in @@ -6,7 +6,7 @@ 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) + *.a|*.arj|*.tar.bz2|*.bz|*.bz2|*.deb|*.udeb|*.ddeb|*.ipk|*.doc|*.egg|*.gif|*.jpeg|*.jpg|*.pcd|*.png|*.tga|*.tiff|*.tif|*.iso|*.bin|*.raw|*.lha|*.lzh|*.tar.lz|*.tlz|*.lz|*.tar.lzma|*.lzma|*.pdf|*.rar|*.r[0-9][0-9]|*.rpm|*.snap|*.tar.gz|*.tgz|*.tar.z|*.tar.dz|*.tar.xz|*.txz|*.whl|*.xz|*.gz|*.z|*.dz|*.tar|*.jar|*.war|*.ear|*.xpi|*.zip|*.7z|*.zoo) # The "lesspipe" script may or may not have ".sh" extension. lesspipe=$(which lesspipe 2>/dev/null) if [ -z "$lesspipe" ]; then |