File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed
Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ ## kool completion
2+
3+ Generate completion script
4+
5+ ### Synopsis
6+
7+ To load completions:
8+
9+ Bash:
10+
11+ $ source <(kool completion bash)
12+
13+ # To load completions for each session, execute once:
14+ Linux:
15+ $ kool completion bash > /etc/bash_completion.d/kool
16+ MacOS:
17+ $ kool completion bash > /usr/local/etc/bash_completion.d/kool
18+
19+ Zsh:
20+
21+ # If shell completion is not already enabled in your environment you will need
22+ # to enable it. You can execute the following once:
23+
24+ $ echo "autoload -U compinit; compinit" >> ~ /.zshrc
25+
26+ # To load completions for each session, execute once:
27+ $ kool completion zsh > "${fpath[ 1] }/_ kool"
28+
29+ # You will need to start a new shell for this setup to take effect.
30+
31+ Fish:
32+
33+ $ kool completion fish | source
34+
35+ # To load completions for each session, execute once:
36+ $ kool completion fish > ~ /.config/fish/completions/kool.fish
37+
38+
39+ ```
40+ kool completion [bash|zsh|fish|powershell]
41+ ```
42+
43+ ### Options
44+
45+ ```
46+ -h, --help help for completion
47+ ```
48+
49+ ### SEE ALSO
50+
51+ * [ kool] ( kool.md ) - kool - Kool stuff
52+
You can’t perform that action at this time.
0 commit comments