You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
339 B
20 lines
339 B
13 years ago
|
#compdef prep
|
||
|
#autoload
|
||
|
|
||
13 years ago
|
#
|
||
|
# Completes prep.
|
||
|
#
|
||
|
# Authors:
|
||
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||
|
#
|
||
|
|
||
13 years ago
|
_arguments \
|
||
|
'-i[ignore case]' \
|
||
|
'-m[^ and $ match the start and the end of a line]' \
|
||
|
'-s[. matches newline]' \
|
||
13 years ago
|
'-v[invert match]' \
|
||
13 years ago
|
'-x[ignore whitespace and comments]' \
|
||
|
'1::pattern:' \
|
||
|
'2::files:_files' && return 0
|
||
|
|