Comment 3 for bug 1647675

Revision history for this message
Richard Harding (rharding) wrote :

Seeing it on a fresh VM on GCE with 16.04.

Error:
_juju_complete_2_0: command not found

Reproduction steps

  sudo apt-get install juju-2.0
  sudo apt-get update && sudo apt-get upgrade
  bash # attempt to refresh the shell just in case to pick up completion scripts
  juju list-<tab>
  _juju_complete_2_0: command not found

In doing a search

  locate juju | grep comple
  /usr/share/bash-completion/completions/juju
  /usr/share/bash-completion/completions/juju-2.0

I did also try a logout/back in and so it's not loading the completion files. I did check the 2.0 completion file and find the function is defined and registered:

  https://pastebin.canonical.com/173002/