Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: compdef weirdness with function
- X-seq: zsh-users 9917
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: compdef weirdness with function
- Date: Sat, 11 Feb 2006 20:45:56 +0000
- In-reply-to: <b6c719b90602111157s31ac848ep4980f9d6a788ba1@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <b6c719b90602111157s31ac848ep4980f9d6a788ba1@xxxxxxxxxxxxxx>
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'
to find the include-path for the modules to complete. When foo does not
exist it falls back to
perl -e 'print @INC'
but when foo does exist and does not behave like perl, it simply fails.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author