~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to contrib/zsh/README

  • Committer: John Arbash Meinel
  • Date: 2010-08-23 21:36:06 UTC
  • mto: This revision was merged to the branch mainline in revision 5390.
  • Revision ID: john@arbash-meinel.com-20100823213606-1pk5w1nyaz9kz9k0
Lots of compatibility changes for python2.4 and mingw32 compilers.

gcc has strtoll available, and does the wrong thing if you use _strtoi64 (it implicitly
defines it to return an 'int' which isn't a 64-bit integer.)

Further, python2.4 doesn't support the %lu syntax, only having %ld and %d. So we go
back to casting everything into real python objects and then stringifying them, but
only for python 2.4.

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