[Bug 752112] New: Zypper complition doesn't work
https://bugzilla.novell.com/show_bug.cgi?id=752112 https://bugzilla.novell.com/show_bug.cgi?id=752112#c0 Summary: Zypper complition doesn't work Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dap@open.by QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux x86_64; U; openSUSE 12.1 Asparagus; ru) Presto/2.10.229 Version/11.61 I have zsh 4.3.17 (x86_64-suse-linux-gnu) from OBS repo "Shell Implementations" and file /usr/share/zsh/4.3.17/functions/_zypper (http://paste.pocoo.org/show/5663522 ) But I don't have any complition when I press Tab-key after zypper. Reproducible: Always Steps to Reproduce: 1. Install zsh with unctions/_zypper; 2. Type zypper; 3. Press Tab-key. Actual Results: No complition. Expected Results: Complition variants. It reproduces without zsh configs. Complition for `osc` works 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=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c1
--- Comment #1 from Dmitriy Perlow
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c2
--- Comment #2 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c3
Dmitriy Perlow
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c4
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c5
Dmitriy Perlow
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c6
--- Comment #6 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c7
--- Comment #7 from Dmitriy Perlow
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c8
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c9
Dmitriy Perlow
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c10
--- Comment #10 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c11
--- Comment #11 from Dmitriy Perlow
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c12
--- Comment #12 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c13
--- Comment #13 from Dmitriy Perlow
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c14
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c15
--- Comment #15 from Dmitriy Perlow
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c16
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c17
Dmitriy Perlow
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c
Jiaying ren
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c18
--- Comment #18 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c19
--- Comment #19 from Dmitriy Perlow
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c20
--- Comment #20 from Dmitriy Perlow
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c21
Dmitry Roshchin
Just to make sure, this was a fresh 12.2 installation or an upgrade. I still can't reproduce, really strange...
Currently zsh parse zypper help output and rules are hard-coded for English locale. For example:
[[ $hline =~ "^Global Options:" ]] && tag=1
but in Russian locale there is no "Global Options:", we see "Общие параметры:". There are two ways: 1) use "LANG=C zypper help" instead of "zypper help" in completion file 2) add all languages But completion works ugly, for example:
--non-interactive-include-reboot-patches Do not treat patches as interactive, which have the rebootSuggested-flag set.
we don't have this option in completion, but we have option "the". -- 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=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c22
--- Comment #22 from Dmitry Roshchin
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c23
--- Comment #23 from Dmitry Roshchin
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c24
--- Comment #24 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c25
--- Comment #25 from Dmitriy Perlow
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c26
Dmitry Roshchin
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c27
Dmitry Roshchin
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c28
--- Comment #28 from Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c29
Mariusz Fik
https://bugzilla.novell.com/show_bug.cgi?id=752112
https://bugzilla.novell.com/show_bug.cgi?id=752112#c30
--- Comment #30 from Mariusz Fik
participants (1)
-
bugzilla_noreply@novell.com