18 lines
338 B
Text
18 lines
338 B
Text
#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
|