Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Having a hard time dealing with a completion collision
- X-seq: zsh-users 24691
- From: Doron Behar <doron.behar@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Having a hard time dealing with a completion collision
- Date: Tue, 18 Feb 2020 21:13:49 +0200
- In-reply-to: <20200218165019.62581fbb@tarpaulin.shahaf.local2>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20200218163725.zdkiord4uaxmutsk@NUX> <20200218165019.62581fbb@tarpaulin.shahaf.local2>
On Tue, Feb 18, 2020 at 04:50:19PM +0000, Daniel Shahaf wrote:
> Hmm, interesting question. «autoload» prefers the first match of a
> given /function name/, but it's possible that compsys prefers the
> /last/ directory for determining the command-name-to-function-name
> mappings? In which case, putting your _todo in the last directory
> might help? (But read on)
Didn't help.
>
> > Assuming I'm not interested in submitting a change to ZSH's source tree,
> > what would be the best way to handle this collision?
>
> Run «compdef _todo todo» after compinit.
That helped. Thanks!
Regards,
Doron.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author