~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to contrib/zsh/README

  • Committer: Andrew Bennetts
  • Date: 2010-04-21 07:52:31 UTC
  • mto: This revision was merged to the branch mainline in revision 5176.
  • Revision ID: andrew.bennetts@canonical.com-20100421075231-2n8pfxbhlhqxic6w
Add example merge_file_content hook based on my answer to <https://answers.edge.launchpad.net/bzr/+question/103163>.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
This directory used to contain a shell completion function for zsh.
2
 
That script has been unmaintained since 2005, though.  Zsh itself does
3
 
ship a _bzr completion function, and has done so for quite some time
4
 
now.  So we suggest you use the version installed with your zsh
5
 
instead of the version that used to be located in this directory.
6
 
 
7
 
Note that the shell-complete builtin of bzr does provide completion
8
 
information in a style suitable for zsh.  There are some completion
9
 
scripts for zsh in the wild that make use of this feature, although
10
 
none of these scripts is officially supported by the bzr developers.
11
 
 
12
 
Also note that recent versions of bzr (starting with the 2.3 series)
13
 
do include a bash_completion plugin. It should be possible to improve
14
 
this in such a way that it generates code for zsh instead of bash.  So
15
 
if you want better zsh completion, this might be the place to start.
16
 
 
17
 
References:
18
 
https://bugs.launchpad.net/bzr/+bug/560030
19
 
http://zsh.git.sourceforge.net/git/gitweb.cgi?p=zsh/zsh;a=history;f=Completion/Unix/Command/_bzr