zsh-users
 help / color / mirror / code / Atom feed
* compdef weirdness with function
@ 2006-02-11 19:57 Ian Langworth
  2006-02-11 20:45 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Langworth @ 2006-02-11 19:57 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-15  0:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-11 19:57 compdef weirdness with function Ian Langworth
2006-02-11 20:45 ` Bart Schaefer
2006-02-15  0:09   ` Ian Langworth

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).