Comment 3 for bug 1570657

Revision history for this message
JuanJo Ciarlante (jjo) wrote :

See updated https://github.com/juju/juju/pull/5057, in short
it adds below two files to /etc/bash_completion.d/
(sort == load order) ->

juju-2.0 (added)
juju-core (existing from juju1)
juju-version (added)

, so that:

* juju-2.0: completion for `juju-2.0`
, but also plain `juju` (ie self-contained)
* juju-core: overwrites completion for `juju`
* juju-version: overwrites completion for `juju`
, with runtime logic to use v1 xor v2.