From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23637 invoked from network); 22 Jun 1998 10:28:38 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 22 Jun 1998 10:28:38 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id GAA06667; Mon, 22 Jun 1998 06:22:52 -0400 (EDT) Resent-Date: Mon, 22 Jun 1998 06:13:17 -0400 (EDT) Sender: verna@inf.enst.fr To: zsh-users@math.gatech.edu Subject: [Q] user-defined completion Mail-Copies-To: never X-Attribution: Didier X-Url: http://www-inf.enst.fr/~verna/ From: Didier Verna X-Face: |j}\)O|k##MrRz#VK$Jy=0r=3Qc,,a/Tr6*JQbE73dy17]2YcmW$9Z&H21e}#~#pgc>dn(is5Bv1l!{1re+Q9suKIOUmOqZs2>QMxHlR;;}kaGYA@HR3D C6 X-Face: 6o|eiKqaHN.ANh8HXDzntcWUOCg\]RsOd.ctvm~*y}Y^R&*a+Co,\s#=HWsw3x$b_n2kJ#g (7u?J^@^xP)f,jUF|0Z'J:|G/bMA5O12*b,7`-Q`=pKsCRIpso07.Y>YB2H{7`?u&yh;C_ZtLHfj X-Mailer: Gnus v5.6.10/XEmacs 21.0 - "Toggenburg" Resent-Message-ID: <"4qebr.0.7c1.yuYZr"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1634 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Hi! I'd like to write a function for special command line completion, but that is aware of the program whose command line we're completing. After reading the doc, I see that user-defined functions get 2 arguments: pre and postfix. Is there a way to make such functions aware of the program name ? Any ideas ? Thanks. -- / / _ _ Didier Verna http://www.inf.enst.fr/~verna/ - / / - / / /_/ / E.N.S.T. INF C214 mailto:verna@inf.enst.fr /_/ / /_/ / /__ / 46 rue Barrault Tel. (33) 01 45 81 80 72 75634 Paris cedex 13 Fax. (33) 01 45 81 31 19