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:
13
plugins/perl/completions/_psub
Normal file
13
plugins/perl/completions/_psub
Normal file
@ -0,0 +1,13 @@
|
||||
#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
|
||||
|
Reference in New Issue
Block a user