~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to contrib/zsh/_bzr

  • Committer: Marius Kruger
  • Date: 2010-07-10 21:28:56 UTC
  • mto: (5384.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5385.
  • Revision ID: marius.kruger@enerweb.co.za-20100710212856-uq4ji3go0u5se7hx
* Update documentation
* add NEWS

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.  I don't understand
9
 
# how to get zsh to reload this file when it changes, other than by
10
 
# starting a new zsh.
11
 
 
12
 
# This is not very useful at the moment because it only completes on
13
 
# commands and breaks filename expansion for other arguments.
14
 
 
15
 
 
16
 
_arguments -S "1::bzr command:($(bzr help commands | grep -v '^   '))"
17
 
 
18
 
 
19
 
# Local variables:
20
 
# mode: shell-script
21
 
# End: