From: Ian Langworth <ian.langworth@gmail.com>
To: zsh-users@sunsite.dk
Subject: Re: compdef weirdness with function
Date: Tue, 14 Feb 2006 19:09:56 -0500 [thread overview]
Message-ID: <b6c719b90602141609g464ce373mf4a991e94e2fe8f1@mail.gmail.com> (raw)
In-Reply-To: <1060211204556.ZM6312@candle.brasslantern.com>
On 2/11/06, Bart Schaefer <schaefer@brasslantern.com> wrote:
> On Feb 11, 2:57pm, Ian Langworth wrote:
> }
> } If I add a completion definition for some arbitrary, undefined symbol,
> }
> } % compdef _perl_modules foo
>
> The problem is with _perl_modules. It expects all commands for which it
> complete to be synonyms for perl; it's attempting to run
>
> foo -e 'print @INC'
Weird and gross. Thanks :)
I've added an if [ "$1" = "-e" ] to my function as a workaround.
--
Ian Langworth
prev parent reply other threads:[~2006-02-15 0:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-11 19:57 Ian Langworth
2006-02-11 20:45 ` Bart Schaefer
2006-02-15 0:09 ` Ian Langworth [this message]
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=b6c719b90602141609g464ce373mf4a991e94e2fe8f1@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).