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 24690
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: <zsh-users@xxxxxxx>
- Subject: Re: Having a hard time dealing with a completion collision
- Date: Tue, 18 Feb 2020 17:02:20 +0000
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200218170221euoutp024a74a136a1a55e85b171def2564791c8~0jds_HxRr0547205472euoutp02L
- In-reply-to: <20200218163725.zdkiord4uaxmutsk@NUX>
- 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>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CGME20200218163908eucas1p28a3b95a5e11163f515ee6e902ff9bbf5@eucas1p2.samsung.com> <20200218163725.zdkiord4uaxmutsk@NUX>
On Tue, 2020-02-18 at 18:37 +0200, Doron Behar wrote:
> I tried putting the replacement `_todo` file in my first fpath directory
> - `~/.zsh/comp/tested/` but surprisingly I still got the failing devtodo
> completion loaded instead of the replacement completion.
The files have different names, so they're both loaded. To get the
first file to be loaded used by compdef, remove the ~/.zcompdump*
file --- exact names vary depending on configuration but it's safe to
remove any you find --- and it will be regenerated with the correct
configuration next time you start the shell.
(You can easily confirm this is the issue by finding the wrong
association in the existing dump file.)
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author