mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-14 08:41:43 +00:00
Improved Perl find and replace functions.
This commit is contained in:
11
plugins/perl/completions/_prep
Normal file
11
plugins/perl/completions/_prep
Normal file
@ -0,0 +1,11 @@
|
||||
#compdef prep
|
||||
#autoload
|
||||
|
||||
_arguments \
|
||||
'-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::files:_files' && return 0
|
||||
|
Reference in New Issue
Block a user