summaryrefslogtreecommitdiffstats
path: root/Completion
diff options
context:
space:
mode:
authorGI <gi1242+zsh@gmail.com>2026-05-13 18:25:20 -0400
committerOliver Kiddle <opk@zsh.org>2026-05-19 00:26:26 +0200
commitf90e49dfcad9b8bde31c91670ba4f2b941eb38c5 (patch)
treee3cda1a0d9982f6ffec6553f2348fafade6c2ec7 /Completion
parentunposted: complete network interfaces for the netif service given new working... (diff)
downloadzsh-f90e49dfcad9b8bde31c91670ba4f2b941eb38c5.tar
zsh-f90e49dfcad9b8bde31c91670ba4f2b941eb38c5.tar.gz
zsh-f90e49dfcad9b8bde31c91670ba4f2b941eb38c5.tar.bz2
zsh-f90e49dfcad9b8bde31c91670ba4f2b941eb38c5.tar.lz
zsh-f90e49dfcad9b8bde31c91670ba4f2b941eb38c5.tar.xz
zsh-f90e49dfcad9b8bde31c91670ba4f2b941eb38c5.tar.zst
zsh-f90e49dfcad9b8bde31c91670ba4f2b941eb38c5.zip
github #172: Completion for "sioyek" (PDF viewer)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/X/Command/_sioyek29
1 files changed, 29 insertions, 0 deletions
diff --git a/Completion/X/Command/_sioyek b/Completion/X/Command/_sioyek
new file mode 100644
index 000000000..d9b15a953
--- /dev/null
+++ b/Completion/X/Command/_sioyek
@@ -0,0 +1,29 @@
+#compdef sioyek
+
+_arguments -S \
+ '--new-instance[create a new instance of sioyek when opening a file]' \
+ '--instance-name[select a specific sioyek instance by name]:name: ' \
+ '--new-window[open file in a new window within same instance]' \
+ '--reuse-window[force reuse of current window]' \
+ '--nofocus[do not bring instance to foreground]' \
+ '--version[print sioyek version]' \
+ '--page[which page to open]:page number: ' \
+ '--focus-text[set a visual mark on line including text]:text: ' \
+ '--focus-text-page[page to use for focus-text]:page number: ' \
+ '--inverse-search[command to execute for inverse search]:command: ' \
+ '--execute-command[command to execute on running instance]:command: ' \
+ '--execute-command-data[optional data for execute-command]:data: ' \
+ '--forward-search-file[forward search on file]:file:_files' \
+ '--forward-search-line[forward search on line]:line: ' \
+ '--forward-search-column[forward search on column]:column: ' \
+ '--zoom[set zoom level]:zoom level: ' \
+ '--xloc[set x position within page]:x-coordinate: ' \
+ '--yloc[set y position within page]:y-coordinate: ' \
+ '--window-id[apply command to specific window id]:window id: ' \
+ '--shared-database-path[path for shared bookmarks/highlights]:database path:_files' \
+ '--verbose[print extra information]' \
+ '--wait-for-response[wait for command to finish before returning]' \
+ '--no-auto-config[disable all config files except those next to executable]' \
+ '(-h --help)'{-h,--help}'[display help information]' \
+ '--help-all[display help including generic Qt options]' \
+ '*:pdf file:_files -g "*.pdf(-.)"'