about summary refs log tree commit diff
path: root/Completion/X
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2016-10-14 11:32:34 +0200
committerOliver Kiddle <opk@zsh.org>2016-10-14 11:32:34 +0200
commit17f9d6b5217355384f5d2faa2e09629766058ebb (patch)
tree78e41d517674ae781d1b642b75c12b003421c19c /Completion/X
parent31c6cfca9cc665feae46f4680687e902ad1bf9d7 (diff)
downloadzsh-17f9d6b5217355384f5d2faa2e09629766058ebb.tar.gz
zsh-17f9d6b5217355384f5d2faa2e09629766058ebb.tar.xz
zsh-17f9d6b5217355384f5d2faa2e09629766058ebb.zip
39623: new evince completion
Diffstat (limited to 'Completion/X')
-rw-r--r--Completion/X/Command/_evince30
1 files changed, 30 insertions, 0 deletions
diff --git a/Completion/X/Command/_evince b/Completion/X/Command/_evince
new file mode 100644
index 000000000..48d5a9aeb
--- /dev/null
+++ b/Completion/X/Command/_evince
@@ -0,0 +1,30 @@
+#compdef evince
+
+_arguments -s -S \
+  - '(help)' \
+  '--version[display version information]' \
+  {-h,--help}'[display help information]' \
+  '--help-all[display help on all options]' \
+  '--help-sm-client[display help on session management options]' \
+  '--help-gtk[display help on GTK+ options]' \
+  - normal \
+  '--sm-client-disable[disable connection to session manager]' \
+  '--sm-client-state-file=[specify file containing saved configuration]:file:_files' \
+  '--sm-client-id=[specify session management ID]:id' \
+  '--class=[specify program class as used by the window manager]:class' \
+  '--name=[program name as used by the window manager]:name:_x_name' \
+  '--gdk-debug=[specify GDK debugging flags to set]:flag' \
+  '--gdk-no-debug=[specify GDK debugging flags to unset]:flag' \
+  '--gtk-module=[load additional GTK+ modules]:module' \
+  '--g-fatal-warnings[make all warnings fatal]' \
+  '--gtk-debug=[specify GTK+ debugging flags to set]:flag' \
+  '--gtk-no-debug=[specify GTK+ debugging flags to unset]:flag' \
+  '(-p --page-label -i --page-index -n --named-dest)'{-p,--page-label=}'[specify page label of the document to display]' \
+  '(-p --page-label -i --page-index -n --named-dest)'{-i,--page-index=}'[specify page number of the document to display]' \
+  '(-p --page-label -i --page-index -n --named-dest)'{-n,--named-dest=}'[specify named destination to display]' \
+  '(-f --fullscreen -s --presentation -w --preview)'{-f,--fullscreen}'[run evince in fullscreen mode]' \
+  '(-f --fullscreen -s --presentation -w --preview)'{-s,--presentation}'[run evince in presentation mode]' \
+  '(-f --fullscreen -s --presentation -w --preview)'{-w,--preview}'[run evince as a previewer]' \
+  '(-l --find)'{-l,--find=}'[specify word or phrase to find in the document]:word or phrase' \
+  '--display=[specify X display]:display:_x_display' \
+  '*:document file:_files -g "*.(#i)(dvi|djvu|pdf|ps|eps|tif|tiff)(-.)"' \