mirror of https://github.com/docker/docs.git
Remove hard coded install dir for Homebrew
Instead of using `/usr/local` say `$(brew --prefix)` Also fix the heading for `### Docker Daemon`
This commit is contained in:
parent
30e139f4a8
commit
189031b6d6
|
@ -210,6 +210,7 @@ containers.
|
||||||

|

|
||||||
|
|
||||||
<p id="daemon-experimental-mode" />
|
<p id="daemon-experimental-mode" />
|
||||||
|
|
||||||
### Docker Daemon
|
### Docker Daemon
|
||||||
|
|
||||||
You can configure options on the Docker daemon that determine how your
|
You can configure options on the Docker daemon that determine how your
|
||||||
|
@ -495,9 +496,9 @@ symlinked to your `bash_completion.d/` directory. For example, if you installed
|
||||||
bash via [Homebrew](http://brew.sh/):
|
bash via [Homebrew](http://brew.sh/):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ln -s /Applications/Docker.app/Contents/Resources/etc/docker.bash-completion /usr/local/etc/bash_completion.d/docker
|
ln -s /Applications/Docker.app/Contents/Resources/etc/docker.bash-completion $(brew --prefix)/etc/bash_completion.d/docker
|
||||||
ln -s /Applications/Docker.app/Contents/Resources/etc/docker-machine.bash-completion /usr/local/etc/bash_completion.d/docker-machine
|
ln -s /Applications/Docker.app/Contents/Resources/etc/docker-machine.bash-completion $(brew --prefix)/etc/bash_completion.d/docker-machine
|
||||||
ln -s /Applications/Docker.app/Contents/Resources/etc/docker-compose.bash-completion /usr/local/etc/bash_completion.d/docker-compose
|
ln -s /Applications/Docker.app/Contents/Resources/etc/docker-compose.bash-completion $(brew --prefix)/etc/bash_completion.d/docker-compose
|
||||||
```
|
```
|
||||||
|
|
||||||
### Zsh
|
### Zsh
|
||||||
|
|
Loading…
Reference in New Issue