mirror of
https://github.com/denoland/deno.git
synced 2025-01-22 06:09:25 -05:00
docs: added autocompletion example for zsh (#6298)
This commit is contained in:
parent
f7d0e39892
commit
9e8ecedfea
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue