On Tue, 27 Aug 2024, 23:21 Josh Triplett, <j...@joshtriplett.org> wrote:
> Package: bash-completion > Version: 1:2.14.0-1 > Severity: wishlist > X-Debbugs-Cc: j...@joshtriplett.org > > If the user has sudo access (`~/.sudo_as_admin_successful` exists), and > they're tab-completing a command starting with `sudo` (to guard against > doing this unexpectedly), and they're completing a path that includes a > directory they don't have access to, bash-completion could use sudo to > list potential matches so that tab-completion can work. > Is that really a good idea?