diff options
author | Oliver Kiddle <opk@zsh.org> | 2014-10-21 16:11:09 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2014-10-21 16:11:09 +0200 |
commit | af9f623273eb994d36d3f02ed37bac6edb10c7cb (patch) | |
tree | ce9fb447962017a39bd067e3bb79921de15e0764 /Completion/openSUSE/Command/_yast | |
parent | e02ff159b3e0254b783e67a9f8225893284aa213 (diff) | |
download | zsh-af9f623273eb994d36d3f02ed37bac6edb10c7cb.tar.gz zsh-af9f623273eb994d36d3f02ed37bac6edb10c7cb.tar.xz zsh-af9f623273eb994d36d3f02ed37bac6edb10c7cb.zip |
33481: resolve completion clashes and tidy-up SUSE/Mandriva related functions
Diffstat (limited to 'Completion/openSUSE/Command/_yast')
-rw-r--r-- | Completion/openSUSE/Command/_yast | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Completion/openSUSE/Command/_yast b/Completion/openSUSE/Command/_yast new file mode 100644 index 000000000..98585f068 --- /dev/null +++ b/Completion/openSUSE/Command/_yast @@ -0,0 +1,14 @@ +#compdef yast yast2 + +_arguments \ + '(- 1)'{-h,--help}'[display help information]' \ + '(- 1)'{-l,--list}'[list all available modules]' \ + '(-g --geometry --ncurses)'{-g,--geometry}'[specify default window size]:_x_geometry' \ + '--qt[use the QT graphical frontend]' \ + '--gtk[use the GTK graphical frontend]' \ + '--ncurses[use the curses text-mode frontend]' \ + '--noborder[no window manager border for main window]' \ + '--fullscreen[use full screen]' \ + '(-)'{-i,--install}'[install package]:*:package file:_files -g "*.rpm(-.)"' \ + '(-)--remove[remove package]:*:package' \ + '1:module:( ${${(f)"$($words[1] -l 2>/dev/null)"}[2,-1]##* } )' |