1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-20 06:56:05 +02:00

40878: additional stgit squash command completeion

This commit is contained in:
Alexandre Rames 2017-03-22 16:32:36 +00:00 committed by Peter Stephenson
parent 7fc15db684
commit fc1fedda95
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2017-03-24 Peter Stephenson <p.stephenson@samsung.com>
* Alexandre Rames: 40878: Completion/Unix/Command/_stgit:
additional squash command completion.
* Aaron Schrab: 40892: Functions/Misc/run-help-ip: subcommand
matching for ip help.

View File

@ -27,7 +27,7 @@ else
compadd ${${(M)${(f)"$(stg series 2> /dev/null)"}##[+>] *}#[+>] } \
&& ret=0
;;
(edit|files|goto|rename|log|float|delete|sink|mail|sync|show|pick|hide)
(edit|files|goto|rename|log|float|delete|sink|mail|sync|show|pick|hide|squash)
_wanted -V "patches" expl "patch" \
compadd $(stg series --noprefix 2> /dev/null) \
&& ret=0