1
=========================================
2
bzr bash-completion script and plugin
3
=========================================
5
This script generates a shell function which can be used by bash to
6
automatically complete the currently typed command when the user
7
presses the completion key (usually tab).
9
It can be used either as a bzr plugin or directly.
11
----------------------------------------
12
1. Installing as a plugin
14
You only need to do this if you want to use the script as a bzr
15
plugin. Otherwise simply grab the bashcomp.py and place it wherever
18
mkdir -p ~/.bazaar/plugins
20
bzr co lp:bzr-bash-completion bash_completion
23
----------------------------------------
26
This is the preferred method of generating initializing the
27
completion, as it will ensure proper bzr initialization.
29
eval "`bzr bash-completion`"
32
----------------------------------------
35
As an alternative, if bzrlib is available to python scripts, the
36
following invocation should yield the same results without requiring
37
you to add a plugin. Might have some issues, though.
39
eval "`./bashcomp.py`"
41
----------------------------------------
44
As this is built upon a bash completion script originally included in
45
the bzr source tree, and as the bzr sources are covered by the GPL 2,
46
this script here is licensed under these same terms.
48
If you require a more liberal license, you'll have to contact all
49
those who contributed code to this plugin, be it for bash or for
52
----------------------------------------
55
The plugin was created by Martin von Gagern in 2009, building on a
56
static completion function of very limited scope distributed together
59
----------------------------------------
62
https://launchpad.net/bzr-bash-completion
63
http://bazaar-vcs.org/