[Bug 1200467] New: zsh completion script for zypper does not account for global options
http://bugzilla.opensuse.org/show_bug.cgi?id=1200467 Bug ID: 1200467 Summary: zsh completion script for zypper does not account for global options Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: banderson19com@san.rr.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The zsh completion script (/usr/share/zsh/functions/Completion/openSUSE/_zypper) does not handle global options prior to the command. For example if you type % zypper search and then hit <tab> it gives you the valid options for the search command. If on the other hand if you type (the perfectly valid): % zypper --no-refresh search and hit tab, it doesn't give any valid options even though it should give the same options as in the first example. If you type: % zypper and hit tab, it correctly lists the available global options along with the commands but if you enter one of the global options it will not do any further completion. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200467 http://bugzilla.opensuse.org/show_bug.cgi?id=1200467#c1 --- Comment #1 from Bruce Anderson <banderson19com@san.rr.com> --- Created attachment 859721 --> http://bugzilla.opensuse.org/attachment.cgi?id=859721&action=edit New version of the file -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200467 http://bugzilla.opensuse.org/show_bug.cgi?id=1200467#c2 --- Comment #2 from Bruce Anderson <banderson19com@san.rr.com> --- Created attachment 859722 --> http://bugzilla.opensuse.org/attachment.cgi?id=859722&action=edit Patch created with diff -c -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200467 http://bugzilla.opensuse.org/show_bug.cgi?id=1200467#c3 --- Comment #3 from Bruce Anderson <banderson19com@san.rr.com> --- Added a possible new version of the completion file. I don't do a massive amount of zsh scripting so I'm not sure if this is the optimal or preferred way of doing this but it works for my test cases. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com