1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-16 23:31:13 +00:00
prezto/modules/perl/functions/_prep
Sorin Ionescu 9d8187ba6b Merge completions into functions
Completions are nothing more than auto-loadable functions prefixed with
an underscore placed somewhere in $FPATH.
2012-04-09 17:45:32 -04:00

20 lines
339 B
Plaintext

#compdef prep
#autoload
#
# Completes prep.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
_arguments \
'-i[ignore case]' \
'-m[^ and $ match the start and the end of a line]' \
'-s[. matches newline]' \
'-v[invert match]' \
'-x[ignore whitespace and comments]' \
'1::pattern:' \
'2::files:_files' && return 0