Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Exporting arrays



> That provided enough of a clue for me to realise what I was
> doing wrong :-)
> 
> Essentially I wanted it to add a suffix if the prefix matched
> foo???? but had forgotten that the prefix was counted as part of
> the completion and so any valid completions would have to
> begin with this prefix. 

Could this (n[...]) be of any help?

compctl -k hosts \
	-x "n[1,-class=]" -k "(any in chaos hesiod)" \
	- "n[1,-query=]" -k "(a cname hinfo md mx mb mg minfo ns ptr soa txt uinfo wks any)" \
	-- + -k "(-query= -all\  -class= -d2\  -nod2\  -debug\  -nodebug\  -defname\  -nodefname\  -domain= -ignoretc\  -noignoretc\ )" -Q -S '' \
	nslookup

/Mirar
__________________________________________________________________________
Idonex AB               Telefon      Telefax      nalle
Skolgatan 10		013-376814   013-376801   0708-376867
582 34 Linköping        mirar@xxxxxxxxx           http://www.idonex.se/



Messages sorted by: Reverse Date, Date, Thread, Author