about summary refs log tree commit diff
path: root/Completion/openSUSE/Command/_yast2
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2014-10-21 16:11:09 +0200
committerOliver Kiddle <opk@zsh.org>2014-10-21 16:11:09 +0200
commitaf9f623273eb994d36d3f02ed37bac6edb10c7cb (patch)
treece9fb447962017a39bd067e3bb79921de15e0764 /Completion/openSUSE/Command/_yast2
parente02ff159b3e0254b783e67a9f8225893284aa213 (diff)
downloadzsh-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/_yast2')
-rw-r--r--Completion/openSUSE/Command/_yast230
1 files changed, 0 insertions, 30 deletions
diff --git a/Completion/openSUSE/Command/_yast2 b/Completion/openSUSE/Command/_yast2
deleted file mode 100644
index b9c7f2489..000000000
--- a/Completion/openSUSE/Command/_yast2
+++ /dev/null
@@ -1,30 +0,0 @@
-#compdef yast2 yast
-
-local curcontext="$curcontext" state line
-typeset -A opt_args
-
-if [[ -z "$_yast2_modules" ]]; then 
-	for i in $(/sbin/yast2 --list | grep -v "Available.*modules"); do
-		_yast2_modules=($_yast2_modules $i)
-	done
-fi
-
-_arguments -s \
-  '(--list)-l[list all available modules]' '(-l)--list' \
-  '(--help)-h[help]' '(-h)--help'\
-  \
- {'(--geometry)-g[default window size (qt only)]','(-g)--geometry'}':geometry:(800x600+0+0)' \
-  '(--style)-s[widget style (qt only)]' '(-s)--style' \
-  \
- {'(--install)-i[install rpm package]','(-i)--install'}':filename:_files' \
-  \
- '--noborder[no window manager border for main window]' '--noborder' \
- '--fullscreen[use full screen]' '--fullscreen' \
-  \
-  ':module:->module' && return 0
-
-case $state in
-	module) compadd $_yast2_modules; _files -g "*.ycp";;
-esac
-
-