Skip to content

Commit 747a28e

Browse files
authored
Update setup.md
Prevent `command not found: compdef` on zsh
1 parent c2b595d commit 747a28e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/src/setup.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ exec($(carapace _carapace))
106106
107107
```sh
108108
# ${UserConfigDir}/zsh/.zshrc
109+
autoload -U compinit && compinit
109110
export CARAPACE_BRIDGES='zsh,fish,bash,inshellisense' # optional
110111
zstyle ':completion:*' format $'\e[2;37mCompleting %d\e[m'
111112
source <(carapace _carapace)

0 commit comments

Comments
 (0)