[Bash-completion-devel] Bug#675299: bash-completion: sudo -u <tab> should complete usernames
Matthew Gabeler-Lee
cheetah at fastcat.org
Thu May 31 03:12:19 UTC 2012
Package: bash-completion
Version: 1:1.99-3
Severity: normal
Completion for sudo should understand some of sudo's options, most
importantly (for me), the -u option.
sudo -u <tab> completes commands as if the -u was not there.
Following on from that, sudo -u user <tab> doesn't complete commands, and
sudo -u user command <tab> doesn't do completion for the command.
Ideally most or all of sudo's options should be understood, or at least the
ones that take an argument recognized as such so that they don't break
command completion later on the command line.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.3.5 (SMP w/12 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bash-completion depends on:
ii bash 4.2-2
bash-completion recommends no packages.
bash-completion suggests no packages.
-- no debconf information
More information about the Bash-completion-devel
mailing list