mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Improved Perl find and replace functions.
This commit is contained in:
parent
da1a02d853
commit
054670cee8
5 changed files with 111 additions and 16 deletions
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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue