__docker_machine_ps1 is not found (#6337)

Fix __docker_machine_ps1: command not found
This commit is contained in:
macknight 2018-03-31 04:57:06 +08:00 committed by Joao Fernandes
parent 12d9222b7b
commit 0de27c2d05
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ Confirm the version and save scripts to `/etc/bash_completion.d` or
```bash
scripts=( docker-machine-prompt.bash docker-machine-wrapper.bash docker-machine.bash ); for i in "${scripts[@]}"; do sudo wget https://raw.githubusercontent.com/docker/machine/v{{site.machine_version}}/contrib/completion/bash/${i} -P /etc/bash_completion.d; done
Then you need to run "source /etc/bash_completion.d/docker-machine-prompt.bash" in your bash terminal to tell your setup where it can find the file docker-machine-prompt.bash that you previously downloaded.
```
To enable the `docker-machine` shell