zsh-users
 help / color / mirror / code / Atom feed
From: Andrey <butirsky@gmail.com>
To: Daniel Shahaf <d.s@daniel.shahaf.name>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: sudo autocompletion
Date: Mon, 10 Feb 2020 10:52:00 +0300	[thread overview]
Message-ID: <ADE72275-1311-44BE-9B1D-5E617E3D9F94@gmail.com> (raw)
In-Reply-To: <20200210030219.527a3ccf@tarpaulin.shahaf.local2>

Thanks, will try it. How about to include it in distribution by default?

On February 10, 2020 6:02:19 AM GMT+03:00, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
>Something like this:
>
>zstyle ':completion:*:*:sudo:*' command-path $path ${path//bin/sbin}
>
>Adjust the stuff after «command-path» as needed.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

      reply	other threads:[~2020-02-10  7:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-09 16:52 Andrey Butirsky
2020-02-09 17:03 ` Roman Perepelitsa
2020-02-09 17:14   ` Andrey Butirsky
2020-02-10  3:02     ` Daniel Shahaf
2020-02-10  7:52       ` Andrey [this message]

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=ADE72275-1311-44BE-9B1D-5E617E3D9F94@gmail.com \
    --to=butirsky@gmail.com \
    --cc=d.s@daniel.shahaf.name \
    --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).