File: _percol

package info (click to toggle)
percol 0.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, trixie
  • size: 220 kB
  • sloc: python: 1,828; sh: 169; lisp: 19; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 777 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#compdef percol

local context state line
typeset -A opt_args

_arguments : \
    '1:input file name:_files' \
    '(--help -h)'{--help,-h}'[show this help message and exit]' \
    '--tty=[path to the TTY]:tty:{compadd $(find /dev/pts -print)}' \
    '--rcfile=[path to the settings file]:rc.py:_files -g \*\.py' \
    '--encoding=[encoding for input and output]:encoding:' \
    '--query=[pre-input query]:query:' \
    '--match-method=[specify matching method for query.]:match method:((string\:normal\ match regex\:regular\ expression migemo\:migemo))' \
    '--caret-position=[position of the caret]:caret position:' \
    '--initial-index=[position of the initial index of the selection]:initial index:(first last)' \
    '--peep[exit immediately without doing anything]'