Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Exporting arrays
- X-seq: zsh-users 1226
- From: Mirar <mirar@xxxxxxxxx>
- To: Adam Spiers <adam.spiers@xxxxxxxxxxxx>
- Subject: Re: Exporting arrays
- Date: 13 Jan 1998 15:12:55 +0100
- Cc: zsh users mailing list <zsh-users@xxxxxxxxxxxxxxx>
- In-reply-to: Adam Spiers's message of "Tue, 13 Jan 1998 01:39:55 +0000"
- References: <34BA1F3D.18EE4BAB@xxxxxxxxxxxxxxxxxx> <199801121515.PAA11821@xxxxxxxxxxxxxxxx> <19980112221212.47183@xxxxxxxxxxxxxxxxxxxxxxx> <82soqtgu71.fsf@xxxxxxxxxxxxxxxxx> <19980113013955.24269@xxxxxxxxxxxxxxxxxxxxxxx>
> 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