mirror of https://github.com/docker/docs.git
added another ~/.bash_profile option
Added another ~/.bash_profile options, listed below: ` [ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion `
This commit is contained in:
parent
91ea932ae6
commit
7f4e5e3c81
|
|
@ -462,6 +462,13 @@ ln -s $etc/docker-compose.bash-completion $(brew --prefix)/etc/bash_completion.d
|
|||
|
||||
Add the following to your `~/.bash_profile`:
|
||||
|
||||
|
||||
```shell
|
||||
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
|
||||
```
|
||||
|
||||
OR
|
||||
|
||||
```shell
|
||||
if [ -f $(brew --prefix)/etc/bash_completion ]; then
|
||||
. $(brew --prefix)/etc/bash_completion
|
||||
|
|
|
|||
Loading…
Reference in New Issue