zsh plugin: switch to loading ~/.orbstack/shell/init.zsh

Completions are now pre-generated and added to `fpath` in `~/.orbstack/shell/init.zsh`.

Signed-off-by: Danny Lin <danny@kdrag0n.dev>
This commit is contained in:
Danny Lin
2025-08-15 06:03:07 -07:00
committed by GitHub
parent 1d14f6f171
commit fee7fc4227
+2 -6
View File
@@ -1,6 +1,2 @@
# make sure you execute this *after* asdf or other version managers are loaded
if (( $+commands[orbctl] )); then
eval "$(orbctl completion zsh)"
compdef _orb orbctl
compdef _orb orb
fi
# OrbStack: command-line tools and integration
source ~/.orbstack/shell/init.zsh 2>/dev/null || :