Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: completion functions not loaded



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@xxxxxxxxx> ha scritto:
On Sun, Feb 12, 2023 at 10:53 PM Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> 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


Messages sorted by: Reverse Date, Date, Thread, Author