about summary refs log tree commit diff
path: root/Completion/X
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-01-16 20:37:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-01-16 20:37:32 +0000
commit6e95fc96020f9d32cae7e48b65c180b9a6263b6e (patch)
tree788e45a21d06af671671719bd31e42459c1b97d7 /Completion/X
parent4f9ee790e0d9f0b3915c2769e0e48c6a7cd8f353 (diff)
downloadzsh-6e95fc96020f9d32cae7e48b65c180b9a6263b6e.tar.gz
zsh-6e95fc96020f9d32cae7e48b65c180b9a6263b6e.tar.xz
zsh-6e95fc96020f9d32cae7e48b65c180b9a6263b6e.zip
28631: gi1242+zsh@gmail.com (as in 28633): completion updates
Diffstat (limited to 'Completion/X')
-rw-r--r--Completion/X/Command/.distfiles34
-rw-r--r--Completion/X/Command/_xournal6
2 files changed, 32 insertions, 8 deletions
diff --git a/Completion/X/Command/.distfiles b/Completion/X/Command/.distfiles
index d97ec8d3c..925ca5257 100644
--- a/Completion/X/Command/.distfiles
+++ b/Completion/X/Command/.distfiles
@@ -1,16 +1,34 @@
 DISTFILES_SRC='
 .distfiles
-_acroread       _dcop
-_gnome-gv       _gqview         _gv             _kfmclient
-_mozilla        _mplayer        _nautilus
-_nedit          _netscape
+_acroread
+_dcop
+_gnome-gv
+_gqview
+_gv
+_kfmclient
+_mozilla
+_mplayer
+_nautilus
+_nedit
+_netscape
 _okular
 _pdftk
 _qiv            
 _setxkbmap
-_urxvt          _vnc
-_x_utils        _xauth          _xdvi           _xfig           _xloadimage
-_xmodmap        _xpdf           _xscreensaver   _xset           _xterm
-_xv             _xwit
+_urxvtd
+_vnc
+_x_utils
+_xauth
+_xdvi
+_xfigd
+_xloadimage
+_xmodmap
+_xournal
+_xpdf
+_xscreensaver
+_xsetd
+_xterm
+_xv
+_xwit
 _xrandr
 '
diff --git a/Completion/X/Command/_xournal b/Completion/X/Command/_xournal
new file mode 100644
index 000000000..066ef55f5
--- /dev/null
+++ b/Completion/X/Command/_xournal
@@ -0,0 +1,6 @@
+#compdef xournal
+
+local expl
+
+_description files expl 'PDF and Xournal files'
+_files "$@" "$expl[@]" -g '*.(#i){xoj,pdf}(-.)'