-
Notifications
You must be signed in to change notification settings - Fork 2k
Installing bash completion scripts documentation #2529
Comments
It's because the function is actually called "__docker_machine_ps1". |
working fine now . |
Same issue here with both Mac and Linux, running zsh
|
|
Checked on bash too, doesn't work there either. Linux is Ubuntu 14.04 based. |
having the same issue: |
Debian 7.5 |
I've just commented it out in my etc/bash_completion.d/docker file: |
If you have the error
|
I'm having the same problem on Ubuntu 16.04 and I tried to declare the variable on ~/.bashrc: __docker_machine_ps1=source '/etc/bash_completion.d/docker-machine-prompt.bash' Probably I'm not doing the rigth way, but I don't know how to do this. I hope somebody help me, thanks! |
@nickdgriffin Actually, I have that, and am getting this error:
|
This is in the docs: https://docs.docker.com/machine/install-machine/#installing-bash-completion-scripts. Try doing this:
|
I'm using macOS Sierra v10.12.6. I added Bash Completion with the following steps thanks for @rubyconvict:
|
i met it ,and i solved it. |
Thanks it works! |
Hi,
documentation for (https://docs.docker.com/machine/install-machine/) for centos7 seems to be wrong.
bash_completion is not installed by default , so it's has to be specifiied.
stiil have error -bash: __docker-machine-ps1: command not found
Regards
The text was updated successfully, but these errors were encountered: