Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
compdef weirdness with function
- X-seq: zsh-users 9916
- From: Ian Langworth <ian.langworth@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: compdef weirdness with function
- Date: Sat, 11 Feb 2006 14:57:33 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ANBfSMwl4LWejwXjsIXezRT8b3g27dlBZ18FHgEeO/unW3PHuqub/GS45NSRuiKz/LpxeKfvgoRbx5mGqh0r59zMibdYGksSKBk4AnU3CGem7vAaYq48LHDhn4MpUh0nFNwenWxco2MHGGk1K6VwtpZ53BHUMkairNqvakUmIcY=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author