From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11158 invoked from network); 12 Feb 2023 18:28:59 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 12 Feb 2023 18:28:59 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1676226539; b=LaqSoN0OXrPrxMEod8TRKNd2W6luy3h7e0epszFWr62i7Bhq347aNJ7UCEa64zeN3Zis2snOhA HlXyv6gUQI5E7Yejx+m8CH/VEe0dmbkcSTAw7Fz94fLFMfKSvbA/dAjTq8Gx/H0YTB7BVe3W8v M/3Ur271aXBi2ERfM8zS5QxyxEnZSw1vaCw8SLyafRpkFbfMUKJiRjbNWG5SaKHAdUbG3K0DXX u++xtOjmqcte2LVsCIioIfBatr/C/q5kT0IIia29ZxvQySjYz70ZYSmk97qQfw2bXZbl6DyGly s8Ndjc82Eaj4nVF9HtG6v/fYO1QTbvS3/w/TBhGQs0vQGw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f54.google.com) smtp.remote-ip=209.85.208.54; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1676226539; bh=8lD3cU3R0vWbpp0lPZumLEkYuCNmRex1nlT+AZuNlJ4=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=AVMCDK/mgfRJoQhqQ3B1RcIP8HxCVtFaCJxm+F8S0VWyPJ+ndbuvgoGZ+H2q3VMgIjXSplMKwl HCTZKArf0ESFz9AReHxiURDRTH3YSLc4RR92kNhYs30avBBLgeC0oNqVKdR68vDybMqn0kF7QG fA4L8vzk1py2P6cD9iLpPUxDSb3s5cS+8+b8bHqNzdP7pAH4lHVZw3mXpDv3+057cvtWC6Sv/F oNC6BeCpbtMgG6pCI6rYt1Q2If910lDzC6M+UIalJ+9NFczA6Nh000RymsW99h8zjU2xWDM6vT 4jjUS4I+isZoH3pG5WaOv1jQhP+YBh746Nb9uNEAxtA6eg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=vT0+Q7dsACDvlOdRtxEO/kmp4PN7hVDSebf5Cg9oXus=; b=iBthkzkK0xCWsHqcDLKKQj1Q/2 h9gB7rJqHfwirs2Mu3RgSvNqHLZIniJmrhLg1SrXaTBeOP5qVQ5iR4t9hl+W3TGCDhEY8NuRKjpLo 9NRBvz+AO+yF7KEx7r008mZ+wOq/7gwELJW8Z6fPhLgHqjrZkUOHgCCtX+lCZ3xwaok1Wf8UGCYsQ KJdpoI0SUAuxofxe/ONa/xu/6rvsszh5vwvB+LT/jMpt05b+uOBEZ4E29Uy4E6cvDgua8WvndcfdB Km6T5aB5CDlQ/LjmX9B1C0+ku0PUUge8wpTT2jlod/gR3arTCkCGWCMR+EZDGn0cFTuB92nd6Mi6F EqGZDG2g==; Received: by zero.zsh.org with local id 1pRH5v-000J63-12; Sun, 12 Feb 2023 18:28:59 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f54.google.com) smtp.remote-ip=209.85.208.54; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-ed1-f54.google.com ([209.85.208.54]:36797) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1pRH4j-000IL6-UF; Sun, 12 Feb 2023 18:27:46 +0000 Received: by mail-ed1-f54.google.com with SMTP id u21so10247774edv.3 for ; Sun, 12 Feb 2023 10:27:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vT0+Q7dsACDvlOdRtxEO/kmp4PN7hVDSebf5Cg9oXus=; b=J5FOzcgb5qFcL/cRFDKNdeXkADnMJ9TUwM37HqN3QSHrM/Z84WLjomsish39QyCJOV Mv5rar9kYK5v0Yb1VZJd+8vqqvtjk9z3dM1ddsnmkEOdaqbilNRURuAorzhAnPMctywN iui2PvDMpx4ZFrxXBKgPy46jWXhA1Pj/EY2/W8DEZC37J3puaicsc1e/5MRE6nb/Y2R+ Pk0FNqrtGX4eoWkajxllEuLtNGQhNV6qD5RBOD2UU6oQnc6UkgriKKnk9u89vTWoFo3L Vr55gVyY9XK/isDp7o5ubyEmzzByyafA0+akbgwlwtSh/4NzXejc+Xr1XphzkvmVqQrd gTAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vT0+Q7dsACDvlOdRtxEO/kmp4PN7hVDSebf5Cg9oXus=; b=X7W7SlyD1xkJT/lFD4B7xVHHSPUerzcZH6gflyal/rY4PO0wMgeewpdJ3WEZ73/7dE L311vTCi/tffD4KM95FnjEBzWuvyaAm47cPjlU1ZkOeixva9xPQSIRMixlK4wOso5AAR WdLxD8RawKnN9J3cH52RviCjqJncAt5swsMFt1boIU+iTyAKvv1vqBiGWpy9uGgdpq+h nKqpSbvcaL7xfAee6j5Nv+vLWnn5POdIyXVwN+/nfSgWdUSJsgoIuT10mc/LU2HQs+Lx uwm/eiyGXZ1fnouVRDSVQAjNv0kAHJ95jCALYfYFMOtr5a0/jhtQ+Hb19QHUlMofNhcg Vy+g== X-Gm-Message-State: AO0yUKXN48F6c3rkJBPJj61R5Onr0f0WpjFftoIj1R6Exylo5o1ShQFt K8X4gUmj0EpzjmC1xN75HC7Pai4em5ng5alRPEmK8UqU X-Google-Smtp-Source: AK7set918yvd2Neliv0uDnsujLyeqiso6UuBi3FUASxuAfUoiM7+XugEp3a/Jkhiw+Fgk1gOAURfqOp0nqy5zRfIxeY= X-Received: by 2002:a50:99cd:0:b0:4ab:eac:30fa with SMTP id n13-20020a5099cd000000b004ab0eac30famr4437716edb.3.1676226465546; Sun, 12 Feb 2023 10:27:45 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Pier Paolo Grassi Date: Sun, 12 Feb 2023 19:27:09 +0100 Message-ID: Subject: Re: completion functions not loaded To: Bart Schaefer Cc: Zsh-Users List Content-Type: multipart/alternative; boundary="0000000000000ac42905f484e305" X-Seq: 28928 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: --0000000000000ac42905f484e305 Content-Type: text/plain; charset="UTF-8" sorry, too soon... autoload +X _systemctl does not produce any output, but it does not gives an error though but the completion context for systemctl does not change, _systemctl is not present, even after a compdef _systemctl systemctl but functions _systemctl now returns the correctly loaded function body Pier Paolo Grassi Il giorno dom 12 feb 2023 alle ore 19:13 Pier Paolo Grassi < pierpaolog@gmail.com> ha scritto: > autoload +X _systemctl > > does not produce any output, but it does not gives an error though > but the completion context for systemctl does not change, _systemctl is > not present > > Pier Paolo Grassi > > > Il giorno dom 12 feb 2023 alle ore 18:52 Pier Paolo Grassi < > pierpaolog@gmail.com> ha scritto: > >> It doesn't seem to do anything. Even inserting >> setopt xtrace >> >> just after #compdef systemctl >> in /usr/share/zsh/vendor-completions/_systemctl does not produce any output >> when trying to complete the systemctl command after opening a new shell >> >> Pier Paolo Grassi >> >> >> Il giorno dom 12 feb 2023 alle ore 18:41 Bart Schaefer < >> schaefer@brasslantern.com> ha scritto: >> >>> On Sun, Feb 12, 2023 at 9:23 AM Pier Paolo Grassi >>> wrote: >>> > >>> > the strange thing is that it's not autoloaded even if it is scheduled >>> to do so >>> > is it possibile that some error prevents it from loading? >>> >>> Yes; try >>> autoload +X _systemctl >>> >> --0000000000000ac42905f484e305 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
sorry, too soon...

autoload +X _systemc= tl

does not produce any output, but it does not gives an= error though
but the completion context for systemctl does not c= hange, _systemctl is not present,
even after a
co= mpdef _systemctl systemctl

but functions _syst= emctl now returns the correctly loaded function body

Pier Paolo Grassi
<= /div>


Il giorno dom 12 feb 2023 alle= ore 19:13 Pier Paolo Grassi <pierpaolog@gmail.com> ha scritto:
autoload +X _syst= emctl

does not produce any output, but it does not gives= an error though
but the completion context for systemctl does no= t change, _systemctl is not present

Pier Paolo Grassi


Il g= iorno dom 12 feb 2023 alle ore 18:52 Pier Paolo Grassi <pierpaolog@gmail.com> ha s= critto:
It doesn't seem to do anything. Even inserting
setopt xtra= ce

just after=C2=A0#compdef systemctl in=C2=A0/usr= /share/zsh/vendor-completions/_systemctl does not produce any output when t= rying to complete the systemctl command after opening a new shell

=
Pier Paolo Grassi


Il giorno dom 12 feb 2023 alle ore 18:41 Bart Sch= aefer <sc= haefer@brasslantern.com> ha scritto:
On Sun, Feb 12, 2023 at 9:23 AM Pier Paolo Gras= si <pierpaolog= @gmail.com> wrote:
>
> the strange thing is that it's not autoloaded even if it is schedu= led to do so
> is it possibile that some error prevents it from loading?

Yes; try
=C2=A0 autoload +X _systemctl
--0000000000000ac42905f484e305--