mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-30 07:10:58 +02:00
manual/7458
This commit is contained in:
parent
115a26274e
commit
eb23336a58
1 changed files with 32 additions and 0 deletions
32
Completion/User/_patch
Normal file
32
Completion/User/_patch
Normal file
|
@ -0,0 +1,32 @@
|
|||
#compdef patch
|
||||
|
||||
_arguments -s \
|
||||
'-p+:number:(0)' \
|
||||
'-F+:lines:' \
|
||||
'-l' '-c' '-e' '-n' '-u' '-N' '-R' \
|
||||
'-i+:patch file:_files' \
|
||||
'-o+:output file:_files' \
|
||||
'-r+:reject file:_files' \
|
||||
'-D+:name:' \
|
||||
'-E' '-Z' '-T' \
|
||||
'-b' \
|
||||
'-V+:version control style:(simple numbered existing)' \
|
||||
'-B+:backup path prefix:' \
|
||||
'-Y+:basename basename prefix:_files' \
|
||||
'-z+:backup file suffix:(.bak)' \
|
||||
'-g+:NUM:' \
|
||||
'-t' '-f' '-s' \
|
||||
'-d+:chdir to:_files -/' \
|
||||
'-v' \
|
||||
':original file:_files' \
|
||||
':patch file:_files' \
|
||||
-- \
|
||||
'*=NUM*:number:(0)' \
|
||||
'*=LINES*:lines:' \
|
||||
'*=PATCHFILE*:patch file:_files' \
|
||||
'*=FILE*:file:_files' \
|
||||
'*=NAME*:name:' \
|
||||
'*=WORD*:quoting style:(literal shell shell-always c escape)' \
|
||||
'*=STYLE*:version control style:(simple numbered existing)' \
|
||||
'*=SUFFIX*:backup file suffix:(.bak)' \
|
||||
'*=DIR*:chdir to:_files -/'
|
Loading…
Reference in a new issue