Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriciojs committed Sep 22, 2020
1 parent 519959e commit c8320fa
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions docs/4-Commands/kool-completion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
## kool completion

Generate completion script

### Synopsis

To load completions:

Bash:

$ source <(kool completion bash)

# To load completions for each session, execute once:
Linux:
$ kool completion bash > /etc/bash_completion.d/kool
MacOS:
$ kool completion bash > /usr/local/etc/bash_completion.d/kool

Zsh:

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

$ echo "autoload -U compinit; compinit" >> ~/.zshrc

# To load completions for each session, execute once:
$ kool completion zsh > "${fpath[1]}/_kool"

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

Fish:

$ kool completion fish | source

# To load completions for each session, execute once:
$ kool completion fish > ~/.config/fish/completions/kool.fish


```
kool completion [bash|zsh|fish|powershell]
```

### Options

```
-h, --help help for completion
```

### SEE ALSO

* [kool](kool.md) - kool - Kool stuff

0 comments on commit c8320fa

Please sign in to comment.