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

This commit is contained in:
AJ ONeal
2023-11-21 19:47:41 +00:00
parent 1f858bca4d
commit e8ba56e75f

View File

@@ -312,6 +312,7 @@ webi_shell_init() { (
echo ' _describe -t commands "command" completions && ret=0'
echo '}'
echo ''
echo 'autoload -Uz compinit && compinit'
echo 'compdef _webi webi'
}
;;