mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-20 15:31:11 +00:00
21 lines
363 B
Plaintext
21 lines
363 B
Plaintext
#compdef psub
|
|
#autoload
|
|
|
|
#
|
|
# Completes psub.
|
|
#
|
|
# Authors:
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
#
|
|
|
|
_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
|
|
|