* PATCH: a new completion for eog (Eye of GNOME)
@ 2018-08-29 5:52 Jun T
0 siblings, 0 replies; only message in thread
From: Jun T @ 2018-08-29 5:52 UTC (permalink / raw)
To: zsh-workers
New completion for eog (GNOME image file viewer).
Most of this file is just a copy of _evince.
diff --git a/Completion/X/Command/_eog b/Completion/X/Command/_eog
new file mode 100644
index 000000000..6a737a79d
--- /dev/null
+++ b/Completion/X/Command/_eog
@@ -0,0 +1,24 @@
+#compdef eog
+
+_arguments -s -S \
+ - '(help)' \
+ '--version[display version information]' \
+ {-h,--help}'[display help information]' \
+ '--help-all[display help on all options]' \
+ '--help-gtk[display help on GTK+ options]' \
+ - normal \
+ '--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' \
+ '(-f --fullscreen)'{-f,--fullscreen}'[open in fullscreen mode]' \
+ '(-s --slide-show -f --fullscreen)'{-s,--slide-show}'[open in slideshow mode]' \
+ '(-g --disable-gallery)'{-g,--disable-gallery}'[disable image gallery]' \
+ '(-n --new-instance)'{-n,--new-instance}'[start a new instance]' \
+ '(-w --single-window)'{-w,--single-window}'[open in single window]' \
+ '--display=[specify X display]:display:_x_display' \
+ '*:image file:_files -g "*.(#i)(ani|bmp|gif|ico|jpeg|jpg|pcx|png|pnm|ras|svg|tga|tiff||tif|wbmp|wbm|xbm|xpm)(-.)"'
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-08-29 6:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-29 5:52 PATCH: a new completion for eog (Eye of GNOME) Jun T
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).