Skip to content

Commit

Permalink
fixed the instructions for auto-completions on zsh (#1097)
Browse files Browse the repository at this point in the history
* fixed the instructions for auto-completions on zsh

* Update README.md

Co-authored-by: Samuel Guyah <[email protected]>
  • Loading branch information
e-nikolov and ChiefMateStarbuck authored Mar 8, 2022
1 parent d83228f commit 8e935f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,12 @@ The most common way to use the `completion` command is by adding a line to your
source <(doctl completion your_shell_here)
```

If you are using ZSH, add this line to your `~/.zshrc` file:

```
compdef _doctl doctl
```

Then refresh your profile.

```
Expand Down

0 comments on commit 8e935f9

Please sign in to comment.