mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 22:51:42 +02:00
22234: Adeodato Simó's quilt completion improvements.
This commit is contained in:
parent
ba30034faf
commit
492943ac71
2 changed files with 26 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-02-11 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
|
* 22234: Completion/Unix/Command/_quilt: Adeodato Simó's
|
||||||
|
quilt completion improvements.
|
||||||
|
|
||||||
2006-02-09 Wayne Davison <wayned@users.sourceforge.net>
|
2006-02-09 Wayne Davison <wayned@users.sourceforge.net>
|
||||||
|
|
||||||
* 22206: Src/Zle/zle.h, Src/Zle/zle_misc.c: fixed broken
|
* 22206: Src/Zle/zle.h, Src/Zle/zle_misc.c: fixed broken
|
||||||
|
|
|
@ -7,4 +7,24 @@ _arguments \
|
||||||
':quilt command:(add files import previous setup annotate fold mail push
|
':quilt command:(add files import previous setup annotate fold mail push
|
||||||
snapshot applied fork new refresh top delete graph next remove unapplied
|
snapshot applied fork new refresh top delete graph next remove unapplied
|
||||||
diff grep patches rename upgrade edit header pop series)' \
|
diff grep patches rename upgrade edit header pop series)' \
|
||||||
'*::file:_files'
|
'*::subcmd:->subcmd' && return 0
|
||||||
|
|
||||||
|
case "$state" in
|
||||||
|
(subcmd)
|
||||||
|
|
||||||
|
case "$words[1]" in
|
||||||
|
(applied|delete|files|graph|header|next|previous|refresh|unapplied)
|
||||||
|
_wanted -V 'patches' expl 'patch' compadd ${(f)"$(quilt series)"}
|
||||||
|
;;
|
||||||
|
(push)
|
||||||
|
_wanted -V 'unapplied patches' expl 'patch' compadd ${(f)"$(quilt unapplied)"}
|
||||||
|
;;
|
||||||
|
(pop)
|
||||||
|
_wanted -V 'applied patches' expl 'patch' compadd ${(f)"$(quilt applied)"}
|
||||||
|
;;
|
||||||
|
(*)
|
||||||
|
_files
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
Loading…
Reference in a new issue