[Bug 859072] New: systemd-analyze, broken TAB completion
https://bugzilla.novell.com/show_bug.cgi?id=859072 https://bugzilla.novell.com/show_bug.cgi?id=859072#c0 Summary: systemd-analyze, broken TAB completion Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sweet_f_a@gmx.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 $ systemd-analyze <TAB> bash: _init_completion: command not found If you have command-not-found installed then it will look even more silly ... There are even more completions broken that way. openSUSE default bash config gets more and more broken. How can we get rid of all those completion scripts? Please don't install them per default or is there an easy way to disable them? Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c
Xiyuan Liu
https://bugzilla.novell.com/show_bug.cgi?id=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c1
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c2
--- Comment #2 from Ruediger Meier
No we will not. Simply because commands like systemd-analyze and systemctl do have usefull command completions like not to show files and directories but the options and commands used by systemd-analyze and systemctl.
If do not like completion simply do
echo 'complete -r' > $HOME/.bash.expert
Then please also check for a global /etc/bash.expert. Since any maintainer seems to have his own opinion about how tab completion should work it would be nice if we could add rpmlint checks to check at least for some basics like this one in bug 859167 -- 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=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c3
Ruediger Meier
https://bugzilla.novell.com/show_bug.cgi?id=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c4
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c5
--- Comment #5 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c6
Ruediger Meier
https://bugzilla.novell.com/show_bug.cgi?id=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c7
--- Comment #7 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c8
--- Comment #8 from Ruediger Meier
Hmm ... I had much much more bugs about missing completions due not installed or not enabled bash completions. Sorry but I do not have the time to figure out what the bash code used from upstream systemd does.
You are right, this bug does not happen if bash-completion package is installed. Wouldn't it be ok in /etc/bash.bashrc to only source any completions if bash-completion is installed. This would fix this bug (and a few more I have not posted yet). Then if you want to have it enabled by default again we would need to add bash-completion to the default installation or to the recommended where it's useful. -- 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=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c9
--- Comment #9 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c10
--- Comment #10 from Ruediger Meier
journalctl >/tm error tab completion
Other commands like ls or even non-existing one should 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=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c11
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c12
--- Comment #12 from Ruediger Meier
https://bugzilla.novell.com/show_bug.cgi?id=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c13
--- Comment #13 from Ruediger Meier
https://bugzilla.novell.com/show_bug.cgi?id=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c14
--- Comment #14 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c15
--- Comment #15 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c16
--- Comment #16 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=859072
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=859072
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=859072
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=859072
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=859072
http://bugzilla.novell.com/show_bug.cgi?id=859072#c17
--- Comment #17 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com