2012-01-28 03:03:01 +01:00
|
|
|
#compdef prep
|
|
|
|
#autoload
|
|
|
|
|
|
|
|
_arguments \
|
|
|
|
'-i[ignore case]' \
|
|
|
|
'-m[^ and $ match the start and the end of a line]' \
|
|
|
|
'-s[. matches newline]' \
|
2012-01-29 22:32:01 +01:00
|
|
|
'-v[invert match]' \
|
2012-01-28 03:03:01 +01:00
|
|
|
'-x[ignore whitespace and comments]' \
|
|
|
|
'1::pattern:' \
|
|
|
|
'2::files:_files' && return 0
|
|
|
|
|