Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213565 - sys-apps/less: improvement for lesspipe.sh
Summary: sys-apps/less: improvement for lesspipe.sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-16 11:31 UTC by Matthias B.
Modified: 2008-03-16 13:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias B. 2008-03-16 11:31:52 UTC
I suggest adding the following case to lesspipe_file()

*" script text executable"*) lesspipe "$1" ".sh" ;;

in order to allow syntax coloring of shell scripts with no file extension.

Reproducible: Always

Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2008-03-16 13:02:04 UTC
added to the tree, cheers

http://sources.gentoo.org/sys-apps/less/files/lesspipe.sh?r1=1.26&r2=1.27