#1079830 Please support tab-completing `sudo somecmd /path/private/[tab]` if `~/.sudo_as_admin_successful`

#1079830#3
Date:
2024-08-27 22:17:30 UTC
From:
To:
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.

Ideally this would fully integrate with bash-completion, such that any
other completion that's asking to complete pathnames will be able to use
it.

#1079830#8
Date:
2024-09-09 10:57:56 UTC
From:
To:
Is that really a good idea?
#1079830#13
Date:
2024-09-09 10:57:56 UTC
From:
To:
Is that really a good idea?