fix(zsh): must 'compinit' before 'compdef'

This commit is contained in:
AJ ONeal
2023-11-21 19:53:21 +00:00
parent f2d7ef229e
commit 50f982f6e3
+1
View File
@@ -356,6 +356,7 @@ webi_shell_init() { (
echo ' _describe -t commands "command" completions && ret=0'
echo '}'
echo ''
echo 'autoload -Uz compinit && compinit'
echo 'compdef _webi webi'
}
;;