Bash completion

Nicholas Skaggs nicholas.skaggs at canonical.com
Mon Jun 6 15:59:57 UTC 2016


Beta8 contains what I hope are some fixes for bash completion. It should 
complete properly for 'juju', whether /usr/bin/juju is pointed at juju2 
or juju1. That solves bug #1 below I hope; #2 and #3 still need work. 
Comments appreciated!

Nicholas

On 06/02/2016 11:28 AM, Martin Packman wrote:
> Hi all,
>
> We need someone who cares about bash completion to step up and make
> sure it works well for juju 2.0. There are several reported issues and
> changes needed:
>
> 1) Bash completion sometimes? doesn't work at all
> <https://bugs.launchpad.net/juju-core/+bug/1588403>
>
> If you can reproduce this, please try adding 'set -x' to the top of
> /usr/share/bash-completion/completions/juju2 and completing again, and
> see if the output spam is enlightening. Add details to the bug.
>
> 2) Update to completion script
> <https://github.com/juju/juju/pull/5057>
>
> JuanJo proposed some updates a while back, but the branch needs
> picking up and finishing off. This is also a prerequisite for...
>
> 3) Bash completion for versioned juju commands
> <https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1570657>
>
> When we're installing version-numbered aliases for juju, those should
> also have completion scripts.
>
> Thanks,
>
> Martin
>




More information about the Juju mailing list