Commit 9a87ccf
authored
[complete][zsh] Fixing issue with compgen function not being found (#499)
Depending on your version of zsh, you may not have `autoload compinit` called in your `.zshrc` file, which results in the following error (tested on a macOS):
complete:13: command not found: compdef
I found the solution here, which worked when tested:
https://stackoverflow.com/a/76476988/18488261 parent ebd80fb commit 9a87ccf
File tree
2 files changed
+6
-1
lines changed- clikt/src/commonMain/kotlin/com/github/ajalt/clikt/completion
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
0 commit comments