Update env.md (#3317)

* Update env.md

* Update env.md
This commit is contained in:
Wang Jie 2017-06-03 02:53:06 +08:00 committed by John Mulhausen
parent 000cb2ebc3
commit 21c4dcc420
1 changed files with 4 additions and 4 deletions

View File

@ -46,8 +46,8 @@ $ # The environment variables have been unset.
The output described above is intended for the shells `bash` and `zsh` (if The output described above is intended for the shells `bash` and `zsh` (if
you're not sure which shell you're using, there's a very good possibility that you're not sure which shell you're using, there's a very good possibility that
it's `bash`). However, these are not the only shells which Docker Machine it's `bash`). However, these are not the only shells which Docker Machine
supports. Depending of the environment you're running your command into we will print them for the proper system. supports. Docker Machine detects the shells available in your environment and lists them.
We support `bash`, `cmd`, `powershell` and `emacs`. Docker supports `bash`, `cmd`, `powershell` and `emacs`.
If you are using `fish` and the `SHELL` environment variable is correctly set to If you are using `fish` and the `SHELL` environment variable is correctly set to
the path where `fish` is located, `docker-machine env name` will print out the the path where `fish` is located, `docker-machine env name` will print out the
@ -63,8 +63,8 @@ set -x DOCKER_MACHINE_NAME overlay
``` ```
If you are on Windows and using either PowerShell or `cmd.exe`, `docker-machine env` If you are on Windows and using either PowerShell or `cmd.exe`, `docker-machine env`
Docker Machine should now detect your shell automatically. If the automagic detection does not work you Docker Machine should now detect your shell automatically. If the automatic detection does not work, you
can still override it using the `--shell` flag for `docker-machine env`. can still override it using the `--shell` flag for `docker-machine env`.
For PowerShell: For PowerShell: