Gentoo Archives: gentoo-user

From: John Covici <covici@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] app-shells/gentoo-zsh-completions no longer working
Date: Mon, 12 Oct 2020 22:28:56
Message-Id: m3wnzv3wpv.wl-covici@ccs.covici.com
In Reply to: Re: [gentoo-user] app-shells/gentoo-zsh-completions no longer working by Ashley Dixon
1 On Mon, 12 Oct 2020 16:43:15 -0400,
2 Ashley Dixon wrote:
3 >
4 > [1 <text/plain; us-ascii (quoted-printable)>]
5 > On Mon, Oct 12, 2020 at 02:42:10PM -0400, John Covici wrote:
6 > > _gentoo_repos:8: command not found: _gentoo_repos_conf
7 > > [...]
8 >
9 > The errors are coming from [1], referencing the function provided by the file at
10 > [2] (`_gentoo_repos_conf`). It's likely that you aren't loading these functions
11 > into your shell. Have you seen the post-install message of ZSH [3]? Try running
12 > the following and see if it fixes your problem:
13 >
14 > % autoload -U compinit promptinit
15 > % compinit
16 > % promptinit; prompt gentoo
17 >
18 > [1] https://gitweb.gentoo.org/proj/zsh-completion.git/tree/src/_gentoo_repos
19 > [2] https://gitweb.gentoo.org/proj/zsh-completion.git/tree/src/_gentoo_repos_conf
20 > [3] https://gitweb.gentoo.org/repo/gentoo.git/tree/app-shells/zsh/zsh-5.8.ebuild#n197
21 Thanks for the hint -- I had compinit already, but not promptinit and
22 that seems to have fixed it.
23
24 Thanks.
25
26 --
27 Your life is like a penny. You're going to lose it. The question is:
28 How do
29 you spend it?
30
31 John Covici wb2una
32 covici@××××××××××.com

Replies

Subject Author
Re: [gentoo-user] app-shells/gentoo-zsh-completions no longer working Neil Bothwick <neil@××××××××××.uk>