Clint Adams <[EMAIL PROTECTED]> writes: >> That seems fine, except for the fact that "Available chroots" is >> translated, so everything up to and including the ':' needs removing. > > Okay, committing this then > > - compadd ${(os:,:)${${${"$(dchroot -l)"#Available chroots: }/\[*\]/}//[ > -]/}} > + compadd ${(os:,:)${${${"$(dchroot -l )"#*: }// /}//[[\]]/,}}
That's magic, thanks! -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
pgpgc5Z5nFctr.pgp
Description: PGP signature