]> git.pld-linux.org Git - packages/zsh.git/blame - zsh-completions.patch
- updated to 4.1.1
[packages/zsh.git] / zsh-completions.patch
CommitLineData
0380bfc9 1diff -ruN zsh-4.0.6./Completion/Unix/Command/.distfiles zsh-4.0.6/Completion/Unix/Command/.distfiles
2--- zsh-4.0.6./Completion/Unix/Command/.distfiles Fri Aug 9 15:30:12 2002
3+++ zsh-4.0.6/Completion/Unix/Command/.distfiles Mon Apr 21 17:46:39 2003
4@@ -18,4 +18,5 @@
5 _user_admin _rsync _arping _spamassassin _mtools _fsh
6 _chkconfig _cdcd _irssi _sccs
7 _global _global_tags _figlet _ifconfig _last
8+_gqview _mplayer _pdf _ps _sms
9 '
10diff -ruN zsh-4.0.6./Completion/Unix/Command/_gqview zsh-4.0.6/Completion/Unix/Command/_gqview
11--- zsh-4.0.6./Completion/Unix/Command/_gqview Thu Jan 1 01:00:00 1970
12+++ zsh-4.0.6/Completion/Unix/Command/_gqview Wed Oct 30 13:39:52 2002
13@@ -0,0 +1,19 @@
14+#compdef gqview
15+
16+_arguments \
17+ '(--with-tools -t --without-tools)+t[force show of tools]' \
18+ '(+t -t --without-tools)--with-tools' \
19+ '(+t --with-tools --without-tools)-t[force hide of tools]' \
20+ '(+t --with-tools -t)--without-tools' \
21+ '(--fullscreen)-f[start in full screen mode]' \
22+ '(-f)--fullscreen' \
23+ '(--slideshow)-s[start in slideshow mode]' \
24+ '(-s)--slideshow' \
25+ '(--list)-l[open collection window for command line]' \
26+ '(-l)--list' \
27+ '--debug[turn on debug output]' \
28+ '(--version)-v[print version info]' \
29+ '(-v)--version' \
30+ '(--help)-h[show help]' \
31+ '(-h)--help' \
32+ '*:picture file:_files -/ -g \*.\(\#i\)\(jpg\|jpe\|jpeg\|png\|gif\|tif\|tiff\|bmp\)'
33diff -ruN zsh-4.0.6./Completion/Unix/Command/_mplayer zsh-4.0.6/Completion/Unix/Command/_mplayer
34--- zsh-4.0.6./Completion/Unix/Command/_mplayer Thu Jan 1 01:00:00 1970
35+++ zsh-4.0.6/Completion/Unix/Command/_mplayer Fri Apr 4 19:28:32 2003
36@@ -0,0 +1,112 @@
37+#compdef mplayer
38+
39+# Copyright (c) 2002 GoTaR <gotar@priv0.onet.pl>
40+
41+local state
42+
43+_vo () {
44+# compadd "$@" $(print ${(f)"$(mplayer -vo help 2>/dev/null | cut -f2 -d' ')"})
45+ local vo
46