zsh-users
 help / color / mirror / code / Atom feed
From: Ian Langworth <ian.langworth@gmail.com>
To: zsh-users@sunsite.dk
Subject: compdef weirdness with function
Date: Sat, 11 Feb 2006 14:57:33 -0500	[thread overview]
Message-ID: <b6c719b90602111157s31ac848ep4980f9d6a788ba1@mail.gmail.com> (raw)

If I add a completion definition for some arbitrary, undefined symbol,

   % compdef _perl_modules foo

The completion works normally:

   % foo Acme::<Tab>
   Acme::Bleach        Acme::Magpie        Acme::Morse
   Acme::DWIM          Acme::Magpie::l33t

However, if I then define foo:

  % foo () { echo "args are: $*" }

The completion stops working, even if I re-execute the compdef command
above. What am I doing wrong?

--
Ian Langworth


             reply	other threads:[~2006-02-11 19:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-11 19:57 Ian Langworth [this message]
2006-02-11 20:45 ` Bart Schaefer
2006-02-15  0:09   ` Ian Langworth

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=b6c719b90602111157s31ac848ep4980f9d6a788ba1@mail.gmail.com \
    --to=ian.langworth@gmail.com \
    --cc=zsh-users@sunsite.dk \
    /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).