mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-12-29 16:25:35 +01:00
39623: new evince completion
This commit is contained in:
parent
31c6cfca9c
commit
17f9d6b521
3 changed files with 35 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2016-10-13 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 39623: Completion/X/Command/_evince: new completion
|
||||
|
||||
2016-10-13 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 39625: Martijn Dekker: Src/loop.c, Test/A01grammar.ztst: case
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#compdef evince gsbj gsdj gsdj500 gslj gslp gsnd ps2ascii ghostview mgv pstoedit pstotgif zathura
|
||||
#compdef gsbj gsdj gsdj500 gslj gslp gsnd ps2ascii ghostview mgv pstoedit pstotgif zathura
|
||||
|
||||
local expl ext
|
||||
|
||||
|
|
30
Completion/X/Command/_evince
Normal file
30
Completion/X/Command/_evince
Normal file
|
@ -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)(-.)"' \
|
Loading…
Reference in a new issue