2014-05-17 00:13:02 +04:00
|
|
|
## Here is an example for apt's sources.list.
|
|
|
|
|
2018-05-18 21:40:08 +03:00
|
|
|
syntax sources.list "sources\.list(\.d/.*\.list)?(~|\.old|\.save)?$"
|
2016-05-25 23:13:50 +03:00
|
|
|
comment "#"
|
2014-05-17 00:13:02 +04: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 17:35:21 +03:00
|
|
|
color brightred "^deb(-src)?\s+.*((ftp|https?|rsh|ssh|copy|file|spacewalk|tor):/\S+|cdrom:\[.+\]/)\s+\S+"
|
2014-05-17 00:13:02 +04:00
|
|
|
# URIs.
|
2015-06-02 17:35:21 +03:00
|
|
|
color brightgreen "^deb(-src)?\s+.*(ftp|https?|rsh|ssh|copy|file|spacewalk|tor):/\S+"
|
2014-05-17 00:13:02 +04:00
|
|
|
# CDroms.
|
2015-06-02 17:35:21 +03:00
|
|
|
color brightgreen "^deb(-src)?\s+.*cdrom:\[.+\]/"
|
|
|
|
# Options.
|
|
|
|
color brightcyan "^deb(-src)?\s+\[.+\]\s+"
|
2014-05-17 00:13:02 +04:00
|
|
|
# And finally the initial deb tag.
|
|
|
|
color yellow "^deb(-src)?"
|
|
|
|
|
|
|
|
# Comments.
|
2008-03-20 08:41:00 +03:00
|
|
|
color brightblue "#.*"
|