Skip to content

Commit 42cc38c

Browse files
committed
add zsh completion instructions
1 parent 8c469ba commit 42cc38c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,17 @@ puts completions.wrapper_function "custom_function_name"
250250
p completions.tester.test "mygit status "
251251
```
252252

253+
## Completions in ZSH
254+
255+
If you are using Oh-My-Zsh, bash completions should already be enabled,
256+
otherwise, you should enable completion by adding this to your `~/.zshrc`
257+
(if is it not already there):
258+
259+
```bash
260+
# Load completion functions
261+
autoload -Uz +X compinit && compinit
262+
autoload -Uz +X bashcompinit && bashcompinit
263+
```
253264

254265
## Contributing / Support
255266

0 commit comments

Comments
 (0)