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 24751 invoked from network); 13 Feb 2023 10:02:23 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 13 Feb 2023 10:02:23 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1676282543; b=EozZf0S7wcZz0y+xpA99x30IdArLSOI8r4sMIcPwLMBjj8cKsqJJBDd1X5P0CcZFATvjNo7s3k wVNjnbC4Pa3DLNybBQn9fjwkBPhUA5DjvzILKl4FqXtqrg7zA8J3ViRhuLvJcnsdrVkVPiF4Jx K81uuBlPjigbLuRAPLze9GRi/i5pumeF/N5TsheQCRNGi8B2WHHX+HngtocdKUlzRvtVYOJJkw 8V2LwvcQpL5J98/PJOoXjSx+7L1aZWL46QC12BKDsDcYX5H2ua0AsANm0KWXDiY/tkdWVQoE3L z/a1y68vWNCpkm+dlzSDmpOdeFNSe5PLMTcl5mas1rvYNw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ej1-f46.google.com) smtp.remote-ip=209.85.218.46; 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=1676282543; bh=D+rSzTdfCneI30mVDrF4Tuh5ciiBsffDparlqJTfUrY=; 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=Jh+GZ2xOH3yGFsCT1sihXSE6YkPkQOvxLSiWuHcxEj74C9KOMyb7iZ4I0oAw2nO8PRmnfUojpB idKhpBRqBTo4xqr/HK9qpMHVJQQ7a395IXwDNZrW7YmzQ9MDmXXy+z+XdSoswSzeBmGx23TTL4 G9vHe+EzzJiIOjegAtNSgwhxdMi/3xkmWqiMcVDco9esWJO8NMzmhH5iCNYggMmjRqZGhSrb6j J7rT8rNzVjHFWIHEsJUgqIIZyuXiyZWF+8I6hkm23KvB195GSxaBa+QLY2Bm2wxLs8tmz71/Wp J0xLxPFtiGi0JwRmS003gzUXUoh3WGfRtGF471HBqp9lqQ==; 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=ZxAceqfJC4Usybs/1sllXIvCqi90/uruohCvicy8Wwg=; b=R3YE5DNIDzQy2ChNhEQpVH8Rau Lf4a3OtDdWA64OPoE8+AtdrjbKmrvD19ZCAdKPH5NHDV1dI5gHoDLkSlr4QgPN35l55xz51LvC552 CYIhHISMCfJStzRuGMusy/JHMMky6VXIznWiuvdygkpziLnEt03Qjav8qmF3Md5jQL5/rPocFiDPO vLZtBpj/mtHOA6t9rAU2SVyWq9UaJVmmXSmz8rpylFmZVQfKtYik02oe6OlEWmI0R1Jt1XwZMQhuw 7YidFYJXwrcslR74gDTNlP/kpqgJb5fDZ+p3DMBoF4lNmp+Yz7bqxVbIZO8Zf5nSfTwraDo0heO6a FUoRuhkw==; Received: by zero.zsh.org with local id 1pRVfC-0008OP-H9; Mon, 13 Feb 2023 10:02:22 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ej1-f46.google.com) smtp.remote-ip=209.85.218.46; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-ej1-f46.google.com ([209.85.218.46]:45576) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1pRVed-0007ih-MS; Mon, 13 Feb 2023 10:01:49 +0000 Received: by mail-ej1-f46.google.com with SMTP id dr8so30359797ejc.12 for ; Mon, 13 Feb 2023 02:01:47 -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=ZxAceqfJC4Usybs/1sllXIvCqi90/uruohCvicy8Wwg=; b=o3H7wBtbynoYw4YbqxmQVnlRuHFG3CUcFCwoMJyZKMZDXak2DGDumozFvolrfeUFDj 7jygtQCQjXzioSc5vt+yGFmouu6FVcWrcLV/iEVD9/tipCVum0OJM125GT24+A0pKTBB +11Lxv9vyap15DftmOx0mc6cKPApJffQ9P34u3LbjDSRg2mgm0hQVU5iNvD+mjNwsfJn YrnIyRr/0508Rw+FyhvHPRrXcFhycxSeGaTO+DKvPQwMkpck8AahVJuEnMtBkw39TGOH DhNZpE8QwwcdrwMUu9tt2+RtefoXZsPLyopOVxg/LoOhUx+ai0WoQqX1ZYeEvrGD/CKJ GtTw== 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=ZxAceqfJC4Usybs/1sllXIvCqi90/uruohCvicy8Wwg=; b=D9B31RFKn89h9IVEE/kb3mN45j1TA7e/Z+X4/3MiN3hoDuuXP9Q870B38kXBtUTgad lUC3ZeHAJjuLCQM2D3jQ11OfOXeYlotMCS8MuhVwJUGYSKW2kYUNqCM4FAMYp59bnL9s GloVFCidYuS9SHjvK4m3qUcizhhonzMMimtDt+Z6yO7Vqo5KuRsDpMqx/uWMeH+MyHLD JccQg7YZLLz8Ima1z+7vuhzz6nZuiwDwWEGZVujdEYJ38uxTSywVaYKsCbocetYcY2mv 6r4w3Nlcc4SCTs/yS+dCY29fI0Ob+RJRK32ugAb8rGmZjn7mZNmjQWRM2LbnxEdFVW5S SSmA== X-Gm-Message-State: AO0yUKXdvmOeHHgkI4q+nGK+xMjcL+eRH08JvpR3mAvrQJjMmNtF0c5u fp5psK16zcsk6fvGRwlZYrMXmSrNOiyage5k92k= X-Google-Smtp-Source: AK7set+BU9i3fxiyZmW0p9fCgAZYdGvCOe7SyBm8F3V1yTOxCquugASlHL3VfOLYtpAuZd3IVFK5/DQh4EfuD8dyrTI= X-Received: by 2002:a17:906:310f:b0:879:36b5:7a5f with SMTP id 15-20020a170906310f00b0087936b57a5fmr4319654ejx.9.1676282507032; Mon, 13 Feb 2023 02:01:47 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Pier Paolo Grassi Date: Mon, 13 Feb 2023 11:01:36 +0100 Message-ID: Subject: Re: completion functions not loaded To: Roman Perepelitsa Cc: Bart Schaefer , Zsh-Users List Content-Type: multipart/alternative; boundary="0000000000005ffb8f05f491ef10" X-Seq: 28940 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: --0000000000005ffb8f05f491ef10 Content-Type: text/plain; charset="UTF-8" in my ubuntu the env var is not propagated if moved before sudo, the function works correctly Il giorno lun 13 feb 2023 alle 09:23 Roman Perepelitsa < roman.perepelitsa@gmail.com> ha scritto: > On Sun, Feb 12, 2023 at 10:53 PM Bart Schaefer > wrote: > > > > The alias would work if it were instead > > > > alias systemctl='SYSTEMD_PAGER= sudo systemctl' > > Keep in mind that on most systems with the default settings > SYSTEMD_PAGER won't be propagated through sudo. > > > Maybe this indicates need for a fix to _sudo > > Nod. > > Roman. > -- Pier Paolo Grassi --0000000000005ffb8f05f491ef10 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
in my ubuntu the env var is not propagated if moved befor= e sudo, the function works correctly

Il giorno lun 13 feb 2023 alle 09:= 23 Roman Perepelitsa <rom= an.perepelitsa@gmail.com> ha scritto:
On Sun, Feb 12, 2023 at 10:53 PM Bart Schaefer
<schaefer= @brasslantern.com> wrote:
>
> The alias would work if it were instead
>
> alias systemctl=3D'SYSTEMD_PAGER=3D sudo systemctl'

Keep in mind that on most systems with the default settings
SYSTEMD_PAGER won't be propagated through sudo.

> Maybe this indicates need for a fix to _sudo

Nod.

Roman.
--
Pier Paolo Grassi
--0000000000005ffb8f05f491ef10--