[Bug 850168] New: tab completion does not work properly w/ sudo
https://bugzilla.novell.com/show_bug.cgi?id=850168 https://bugzilla.novell.com/show_bug.cgi?id=850168#c0 Summary: tab completion does not work properly w/ sudo Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: illumilore@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- if I type in terminal: "zypper pa" and then hit tab, I get a tab completion list for arguments of zypper. But I type in sudo zypper pa and then hit tab, I get no list. tab completion should work with sudo, or sudo should pass the tab completion to its argument properly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=850168 https://bugzilla.novell.com/show_bug.cgi?id=850168#c Xiyuan Liu <xyliu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyliu@suse.com AssignedTo|bnc-team-screening@forge.pr |ma@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=850168 https://bugzilla.novell.com/show_bug.cgi?id=850168#c Xiyuan Liu <xyliu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |vcizek@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=850168 https://bugzilla.novell.com/show_bug.cgi?id=850168#c2 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED CC| |vcizek@suse.com Resolution| |INVALID --- Comment #2 from Vitezslav Cizek <vcizek@suse.com> 2013-11-27 16:59:23 CET --- You're missing bash-completion, install it and it'll work as you expect. In bash: $ sudo zypper pa <TAB> bin/ dev/ home/ lib64/ media/ opt/ readahead run/ selinux/ sys/ usr/ boot/ etc/ lib/ lost+found/ mnt/ proc/ root/ sbin/ srv/ tmp/ var/ Now trying with bash-completion installed: $ sudo zypper pa <TAB> --installed-only --orphaned --recommended --repo --sort-by-name --sort-by-repo --suggested --uninstalled-only --unneeded -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=850168 https://bugzilla.novell.com/show_bug.cgi?id=850168#c3 ill lume <illumilore@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|INVALID | --- Comment #3 from ill lume <illumilore@gmail.com> 2013-12-20 20:18:38 UTC --- why would a separate package be necessary only for sudo completion, and why would this not be installed as default? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=850168 https://bugzilla.novell.com/show_bug.cgi?id=850168#c4 --- Comment #4 from ill lume <illumilore@gmail.com> 2013-12-20 20:20:51 UTC --- also, are the packages themselves not supposed to have completion? ie zypper install bash-comp<TAB> does not work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=850168 https://bugzilla.novell.com/show_bug.cgi?id=850168#c5 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED --- Comment #5 from Vitezslav Cizek <vcizek@suse.com> 2013-12-20 22:04:12 CET --- (In reply to comment #3)
why would a separate package be necessary only for sudo completion,
It's not only for sudo. bash-completion package includes completion for various programs:
ls -1 /usr/share/bash-completion/completions/ | wc -l 586
and why would this not be installed as default? It used to be pulled in with bash, but the bash maintainer discontinued it later:
------------------------------------------------------------------- Mon Jul 19 09:54:50 CEST 2010 - werner@suse.de - Comment out recommendation of bash-completion, as I'd like no to see the bugs of bash-completion in m (In reply to comment #4)
also, are the packages themselves not supposed to have completion? ie zypper install bash-comp<TAB> does not work.
Hm, this works for me. zypper installs some bash-completion on its own. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=850168 https://bugzilla.novell.com/show_bug.cgi?id=850168#c6 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |INVALID --- Comment #6 from Vitezslav Cizek <vcizek@suse.com> 2014-01-13 15:29:02 CET --- Closing the bug as invalid. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com