From: Pier Paolo Grassi <pierpaolog@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh-Users List <zsh-users@zsh.org>
Subject: Re: completion functions not loaded
Date: Sat, 11 Feb 2023 22:30:19 +0100 [thread overview]
Message-ID: <CAP+y1xCZfM7fbtKrUQXXqMcqRvCtm0TtcvFU7cTZ+3k_FfdvLg@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7Y17AFGyJ8OcUPrTwHxsF1M9QjDgbD8m81L-iN_uD-+ZA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 931 bytes --]
: head /usr/share/zsh/vendor-completions/_systemctl
#compdef systemctl
(( $+functions[_systemctl_command] )) || _systemctl_command()
{
local -a _systemctl_cmds
_systemctl_cmds=(
"list-sockets:List sockets"
"list-timers:List timers"
"list-units:List units"
"start:Start (activate) one or more units"
Pier Paolo Grassi
Il giorno sab 11 feb 2023 alle ore 22:27 Bart Schaefer <
schaefer@brasslantern.com> ha scritto:
> On Sat, Feb 11, 2023 at 1:19 PM Pier Paolo Grassi <pierpaolog@gmail.com>
> wrote:
> >
> > Hello, there are some completion functions that aren't loaded, it
> appears.
> >
> > it's not even listed. The completion function is defined in
> > /usr/share/zsh/vendor-completions
>
> That means it's provided by the OS zsh package, it's not present in
> the zsh source tree.
>
> > What can I do to debug the issue?
>
> Check that the file starts with either
>
> #compdef ...
>
> or
>
> #autoload
>
[-- Attachment #2: Type: text/html, Size: 1657 bytes --]
next prev parent reply other threads:[~2023-02-11 21:32 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-11 21:18 Pier Paolo Grassi
2023-02-11 21:27 ` Bart Schaefer
2023-02-11 21:30 ` Pier Paolo Grassi [this message]
2023-02-11 21:31 ` Bart Schaefer
2023-02-12 17:22 ` Pier Paolo Grassi
2023-02-12 17:41 ` Bart Schaefer
2023-02-12 17:52 ` Pier Paolo Grassi
2023-02-12 18:13 ` Pier Paolo Grassi
2023-02-12 18:27 ` Pier Paolo Grassi
2023-02-12 18:36 ` Roman Perepelitsa
2023-02-12 20:58 ` Pier Paolo Grassi
2023-02-12 21:08 ` Roman Perepelitsa
2023-02-12 21:09 ` Pier Paolo Grassi
2023-02-12 21:53 ` Bart Schaefer
2023-02-13 8:23 ` Roman Perepelitsa
2023-02-13 10:01 ` Pier Paolo Grassi
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=CAP+y1xCZfM7fbtKrUQXXqMcqRvCtm0TtcvFU7cTZ+3k_FfdvLg@mail.gmail.com \
--to=pierpaolog@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-users@zsh.org \
/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).