Commit Graph
3 Commits
Author SHA1 Message Date
Alexander Schaber 924db8c81b refactor(plugins): use cached background completion generation (#13662)
Move invoke, istioctl, kn, kompose, kops, oc, operator-sdk, please and
svcat off sourcing `<($cmd completion ...)` on every startup. The
completion script is now cached under $ZSH_CACHE_DIR/completions and
regenerated in the background, following the pattern used by the helm
plugin.

Writes go through a temp file (prefixed with a dot to keep it out of
$fpath) that is moved into place atomically with `zf_mv`, so a
half-written file is never sourced.
2026-11-27 13:23:29 -08:00
vladislav doster 1d09c6bb0a style: remove trailing whitespace (#12303) 2024-03-26 09:55:16 +01:00
Brian Tannous 2b379ec42c feat(kn): add plugin for kn completion (#8927) 2021-11-17 10:33:48 +01:00