Public bug reported:
Binary package hint: bash-completion
I am using bash-completion 20060301-3ubuntu3 in Hardy. It would be nice
if it recognized that gksudo should be followed by a command name, as it
does for sudo. For example if I type:
$ gksudo synap<TAB>
bash-completion merely beeps rather than completing to
$ gksudo synaptic
The following patch to /etc/bash_completion fixes this:
diff -u /etc/bash_completion /tmp/buffer-content-66310Oi
--- /etc/bash_completion 2008-04-08 10:29:11.000000000 -0400
+++ /tmp/buffer-content-66310Oi 2008-06-10 14:39:20.000000000 -0400
@@ -3259,7 +3259,7 @@
{
PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin _command $1 $2 $3
}
-complete -F _root_command $filenames sudo fakeroot really
+complete -F _root_command $filenames sudo fakeroot really gksudo
# ant(1) completion
#
** Affects: bash-completion (Ubuntu)
Importance: Undecided
Status: New
--
completion does not complete commands after 'gksudo'
https://bugs.launchpad.net/bugs/239080
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs