Skip to content

Commit

Permalink
Merge pull request #113 from Am3o/master
Browse files Browse the repository at this point in the history
extend the documentation of the command completion of zsh
  • Loading branch information
d-rk committed Jan 28, 2022
2 parents 2de4516 + 91f33bd commit c997121
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -177,15 +177,21 @@ kafkactl completion bash > /usr/local/etc/bash_completion.d/kafkactl

#### zsh

If shell completion is not already enabled in your environment,
you will need to enable it. You can execute the following once:

```
source <(kafkactl completion zsh)
echo "autoload -U compinit; compinit" >> ~/.zshrc
```

To load completions for each session, execute once:

```
kafkactl completion zsh > "${fpath[1]}/_kafkactl"
```

You will need to start a new shell for this setup to take effect.

#### Fish

```
Expand Down

0 comments on commit c997121

Please sign in to comment.