Commit c5cee344 by mcnesium Committed by GitHub

update shell command in docs (#4132)

* update shell command 

according to [SC2006](https://github.com/koalaman/shellcheck/wiki/SC2006):
> Backtick command substitution `...` is legacy syntax with several issues.

* merge updated table markdown
parent f32c8d4a
...@@ -128,11 +128,11 @@ To get the path to your virtual environment run `poetry env info --path`. ...@@ -128,11 +128,11 @@ To get the path to your virtual environment run `poetry env info --path`.
You can also combine these into a nice one-liner, `source $(poetry env info --path)/bin/activate` You can also combine these into a nice one-liner, `source $(poetry env info --path)/bin/activate`
To deactivate this virtual environment simply use `deactivate`. To deactivate this virtual environment simply use `deactivate`.
| | POSIX Shell | Windows | Exit/Deactivate | | | POSIX Shell | Windows | Exit/Deactivate |
| ----------------- | -------------------------------------------------- | ------------------------------------- | --------------- | | ----------------- | ----------------------------------------------- | ------------------------------------- | --------------- |
| New Shell | `poetry shell` | `poetry shell` | `exit` | | New Shell | `poetry shell` | `poetry shell` | `exit` |
| Manual Activation | `source {path_to_venv}/bin/activate` | `{path_to_venv}\Scripts\activate.bat` | `deactivate` | | Manual Activation | `source {path_to_venv}/bin/activate` | `{path_to_venv}\Scripts\activate.bat` | `deactivate` |
| One-liner | ```source `poetry env info --path`/bin/activate``` | | `deactivate` | | One-liner | `source $(poetry env info --path)/bin/activate` | | `deactivate` |
### Version constraints ### Version constraints
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment