Personal tools
You are here: Home Open Source && Programming && Life sources.list syntax highlighting in Nano

sources.list syntax highlighting in Nano sources.list syntax highlighting in Nano

Document Actions
Submitted by ironstorm. on 2007-04-16 02:20. Kubuntu/UbuntuOpen Source

Nano .nanorc syntax colour highlighting for Ubuntu/Debian apt package source repos list (source.list and /etc/apt/sources.list.d/)

# Debian/Ubunut Packages config
syntax "deb-sources-lists" "\.list$"
color yellow "\s(http|ftp)://.*$"
color green "^\s?deb(-src)?"
color brightgreen "\s(http|ftp)://.[^ ]*"
color brightblack "#(\s)?deb .*$"
color white "#.*$"
Blog
« July 2008 »
Su Mo Tu We Th Fr Sa
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Categories:
Best Practices (0)
Cooking (2)
EeePC (1)
Embedded (3)
HDTV (2)
Health (1)
J2EE (1)
Java (6)
Linux (24)
Movies (1)
Music (3)
MythTV (10)
NSLU2 (2)
Not Tech (11)
Plone (2)
Politics (2)
QEMU (4)
Tomcat (1)
Tooling (4)
Travel (1)
VoIP (1)
Websphere (1)
Windows (6)
Zaurus (4)
 

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: