~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to contrib/zsh/_bzr

  • Committer: Martin Pool
  • Date: 2005-05-03 07:48:54 UTC
  • Revision ID: mbp@sourcefrog.net-20050503074854-adb6f9d6382e27a9
- sketchy experiments in bash and zsh completion

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#compdef bzr
 
2
 
 
3
# Rudimentary zsh completion support for bzr.
 
4
 
 
5
# -S means there are no options after a -- and that argument is ignored
 
6
 
 
7
# To use this you must arrange for it to be in a directory that is on
 
8
# your $fpath, and also for compinit to be run.
 
9
 
 
10
 
 
11
_arguments -S "1::bzr command:($(bzr help commands | grep '^   '))"