14 lines
283 B
Text
14 lines
283 B
Text
|
#compdef psub
|
||
|
#autoload
|
||
|
|
||
|
_arguments \
|
||
|
'-g[match globally]' \
|
||
|
'-i[ignore case]' \
|
||
|
'-m[^ and $ match the start and the end of a line]' \
|
||
|
'-s[. matches newline]' \
|
||
|
'-x[ignore whitespace and comments]' \
|
||
|
'1::pattern:' \
|
||
|
'2::replacement:' \
|
||
|
'3::files:_files' && return 0
|
||
|
|