Find-and-replace on docs
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
c981ce929a
commit
e3c4a662d9
9 changed files with 106 additions and 106 deletions
|
|
@ -6,7 +6,7 @@ title: Command Completion
|
|||
Command Completion
|
||||
==================
|
||||
|
||||
Fig comes with [command completion](http://en.wikipedia.org/wiki/Command-line_completion)
|
||||
Compose comes with [command completion](http://en.wikipedia.org/wiki/Command-line_completion)
|
||||
for the bash shell.
|
||||
|
||||
Installing Command Completion
|
||||
|
|
@ -17,7 +17,7 @@ On a Mac, install with `brew install bash-completion`
|
|||
|
||||
Place the completion script in `/etc/bash_completion.d/` (`/usr/local/etc/bash_completion.d/` on a Mac), using e.g.
|
||||
|
||||
curl -L https://raw.githubusercontent.com/docker/fig/master/contrib/completion/bash/fig > /etc/bash_completion.d/fig
|
||||
curl -L https://raw.githubusercontent.com/docker/docker-compose/master/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose
|
||||
|
||||
Completion will be available upon next login.
|
||||
|
||||
|
|
@ -25,9 +25,9 @@ Available completions
|
|||
---------------------
|
||||
Depending on what you typed on the command line so far, it will complete
|
||||
|
||||
- available fig commands
|
||||
- available docker-compose commands
|
||||
- options that are available for a particular command
|
||||
- service names that make sense in a given context (e.g. services with running or stopped instances or services based on images vs. services based on Dockerfiles). For `fig scale`, completed service names will automatically have "=" appended.
|
||||
- arguments for selected options, e.g. `fig kill -s` will complete some signals like SIGHUP and SIGUSR1.
|
||||
- service names that make sense in a given context (e.g. services with running or stopped instances or services based on images vs. services based on Dockerfiles). For `docker-compose scale`, completed service names will automatically have "=" appended.
|
||||
- arguments for selected options, e.g. `docker-compose kill -s` will complete some signals like SIGHUP and SIGUSR1.
|
||||
|
||||
Enjoy working with fig faster and with less typos!
|
||||
Enjoy working with docker-compose faster and with less typos!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue