https://bugzilla.novell.com/show_bug.cgi?id=859072
https://bugzilla.novell.com/show_bug.cgi?id=859072#c10
--- Comment #10 from Ruediger Meier 2014-01-17 14:11:37 UTC ---
Thanks for looking into this. It fixes my initial example but a lot others not:
systemctl status > /tm<TAB>
udisksctl list > /tm<TAB>
journalctl --this-boot > /tm<TAB>
Seems all "freedesktop" stuff is broken.
I think it wouldn't to hard to add an rpmlint for this. Here I wrote an expect
script check_tab.exp:
#!/usr/bin/expect -f
set COMMAND [lindex $argv 0]
set timeout 1
spawn sh -c {PS1="> " bash -i -l}
match_max 100000
expect -exact "> "
send -- "$COMMAND >/tm "
expect -exact "p/" {
puts stderr "\nall good"
exit 0
}
puts stderr "\nerror tab completion"
exit 1
----
Just try out:
/check_tab.exp journalctl
spawn sh -c PS1="> " bash -i -l
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.