zsh-users
 help / color / mirror / code / Atom feed
From: Didier Verna <verna@inf.enst.fr>
To: zsh-users@math.gatech.edu
Subject: [Q] user-defined completion
Date: 22 Jun 1998 12:14:31 +0200	[thread overview]
Message-ID: <qyjzpf5pwu0.fsf@metheny.enst.fr> (raw)


	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


             reply	other threads:[~1998-06-22 10:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-22 10:14 Didier Verna [this message]
1998-06-23 11:32 ` Sven Guckes
1998-06-23 11:39   ` Didier Verna

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=qyjzpf5pwu0.fsf@metheny.enst.fr \
    --to=verna@inf.enst.fr \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).