65
65
The path to the plugins directory that Bazaar should use.
66
If not set, Bazaar will search for plugins in:
68
* the user specific plugin directory (containing the user plugins),
70
* the bzrlib directory (containing the core plugins),
72
* the size specific plugin directory if applicable (containing
75
If ``BZR_PLUGIN_PATH`` is set in any fashion, it will change the
76
the way the plugin are searched.
78
As for the ``PATH`` variables, if multiple directories are
79
specified in ``BZR_PLUGIN_PATH`` they should be separated by the
80
platform specific appropriate character (':' on Unix/Linux/etc,
83
By default all directories specified in ``BZR_PLUGIN_PATH``
84
replace 'user' in the but keep searching in 'core' then 'site'.
86
If you need to change the order or remove one of these
87
directories, you should use special values:
89
* ``-user``, ``-core``, ``-site`` will remove the corresponding
90
path from the default values,
92
* ``+user``, ``+core``, ``+site`` will add the corresponding path
93
before the remaining default values (and also remove it from
96
Note that the special values 'user', 'core' and 'site' should be
97
used literally, they will be substituted by the corresponding,
98
platform specific, values.
103
The examples below uses ':' as the separator, windows users
106
Overriding the default user plugin directory:
107
``BZR_PLUGIN_PATH='/path/to/my/other/plugins'``
109
Disabling the site directory while retaining the user directory:
110
``BZR_PLUGIN_PATH='-site:+user'``
112
Disabling all plugins (better achieved with --no-plugins):
113
``BZR_PLUGIN_PATH='-user:-core:-site'``
115
Overriding the default site plugin directory:
116
``BZR_PLUGIN_PATH='/path/to/my/site/plugins:-site':+user``