comparison contrib/zsh_completion @ 3549:3dbec3f6d3a2

zsh: add qbase and qtip to qapplied completions
author Brendan Cully <brendan@kublai.com>
date Thu, 26 Oct 2006 09:46:08 -0700
parents 811e6c95485c
children ef80b13df85a
comparison
equal deleted inserted replaced
3548:811e6c95485c 3549:3dbec3f6d3a2
504 } 504 }
505 505
506 _hg_qapplied() { 506 _hg_qapplied() {
507 typeset -a patches 507 typeset -a patches
508 patches=($(_hg_cmd qapplied)) 508 patches=($(_hg_cmd qapplied))
509 (( $#patches )) && _describe -t hg-applied-patches 'applied patches' patches 509 if (( $#patches ))
510 then
511 patches+=(qbase qtip)
512 _describe -t hg-applied-patches 'applied patches' patches
513 fi
510 } 514 }
511 515
512 _hg_qunapplied() { 516 _hg_qunapplied() {
513 typeset -a patches 517 typeset -a patches
514 patches=($(_hg_cmd qunapplied)) 518 patches=($(_hg_cmd qunapplied))