From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12476 invoked from network); 13 Jan 1998 14:20:50 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 13 Jan 1998 14:20:50 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id JAA00088; Tue, 13 Jan 1998 09:11:55 -0500 (EST) Resent-Date: Tue, 13 Jan 1998 09:11:32 -0500 (EST) To: Adam Spiers Cc: zsh users mailing list Subject: Re: Exporting arrays References: <34BA1F3D.18EE4BAB@rrz.uni-hamburg.de> <199801121515.PAA11821@taos.demon.co.uk> <19980112221212.47183@thelonious.new.ox.ac.uk> <82soqtgu71.fsf@cuckoo.infovav.se> <19980113013955.24269@thelonious.new.ox.ac.uk> X-Face: $$CzX_6%|HNr.oB"KTJp(4s)x@#{7`R#=qth)@YQVIW3G_vqiReP):T3il:o9H[)hjgs%QU z!Gx^:NL=B(KNK[Y7{`T*hok`uv`}ArWqZ\wF&KHgVYr+d\>oGI?I\60y?,j*xB@gkYk_)YU0]6"S` nEjNqCC Content-Type: TEXT/PLAIN; charset=ISO-8859-1 From: Mirar Date: 13 Jan 1998 15:12:55 +0100 In-Reply-To: Adam Spiers's message of "Tue, 13 Jan 1998 01:39:55 +0000" Message-ID: <82btxgv4wo.fsf@skuld.idonex.se> X-Mailer: Gnus v5.4.66/Emacs 19.34 Resent-Message-ID: <"yUjbY1.0.j.KOtkq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1226 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > 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@idonex.se http://www.idonex.se/