summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMandeep Singh <mesingh90@gmail.com>2020-06-15 21:39:17 +0530
committerGitHub <noreply@github.com>2020-06-15 12:09:17 -0400
commit9e8ecedfea44ee0c76a48d29e166d05ae01ec49e (patch)
treeda15d2252a2c19351f10340b093703b6924f8b6f
parentf7d0e39892c511208e46c4b0a3e182c2843293ae (diff)
docs: added autocompletion example for zsh (#6298)
-rw-r--r--docs/getting_started/setup_your_environment.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/getting_started/setup_your_environment.md b/docs/getting_started/setup_your_environment.md
index fd04cd839..742e44e4f 100644
--- a/docs/getting_started/setup_your_environment.md
+++ b/docs/getting_started/setup_your_environment.md
@@ -29,13 +29,22 @@ The supported shells are:
- powershell
- elvish
-Example:
+Example (bash):
```shell
deno completions bash > /usr/local/etc/bash_completion.d/deno.bash
source /usr/local/etc/bash_completion.d/deno.bash
```
+Example (zsh):
+
+```shell
+mkdir ~/.oh-my-zsh/custom/plugins/deno
+deno completions zsh > ~/.oh-my-zsh/custom/plugins/deno/_deno
+```
+
+After this add `deno` plugin under plugins tag in `~/.zshrc` file.
+
### Editors and IDEs
Because Deno requires the use of file extensions for module imports and allows