2014-05-16 20:13:02 +00:00
|
|
|
## Here is an example for apt's sources.list.
|
|
|
|
|
2018-05-18 18:40:08 +00:00
|
|
|
syntax sources.list "sources\.list(\.d/.*\.list)?(~|\.old|\.save)?$"
|
2016-05-25 20:13:50 +00:00
|
|
|
comment "#"
|
2014-05-16 20:13:02 +00:00
|
|
|
|
|
|
|
# Coloring the deb lines, working from tail to head. First the
|
|
|
|
# components -- well, everything, and thus also the components.
|
|
|
|
color brightmagenta "^deb.*"
|
|
|
|
# Distribution -- well, everything, except the components.
|
2015-06-02 14:35:21 +00:00
|
|
|
color brightred "^deb(-src)?\s+.*((ftp|https?|rsh|ssh|copy|file|spacewalk|tor):/\S+|cdrom:\[.+\]/)\s+\S+"
|
2014-05-16 20:13:02 +00:00
|
|
|
# URIs.
|
2015-06-02 14:35:21 +00:00
|
|
|
color brightgreen "^deb(-src)?\s+.*(ftp|https?|rsh|ssh|copy|file|spacewalk|tor):/\S+"
|
2014-05-16 20:13:02 +00:00
|
|
|
# CDroms.
|
2015-06-02 14:35:21 +00:00
|
|
|
color brightgreen "^deb(-src)?\s+.*cdrom:\[.+\]/"
|
|
|
|
# Options.
|
|
|
|
color brightcyan "^deb(-src)?\s+\[.+\]\s+"
|
2014-05-16 20:13:02 +00:00
|
|
|
# And finally the initial deb tag.
|
|
|
|
color yellow "^deb(-src)?"
|
|
|
|
|
|
|
|
# Comments.
|
2008-03-20 05:41:00 +00:00
|
|
|
color brightblue "#.*"
|