Commit Graph
5 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
FaeTheWolfandJorge Francisco Varela Gutiérrez 6622210d7d fix(oc): fix completion for oc 4.9 and 4.10 (#10973)
Closes #10939

Co-authored-by: Jorge Francisco Varela Gutiérrez <jvarela@jfvarela.redhat.com>
2022-06-05 15:59:44 +02:00
Alwyn Kik d5cb1d339f docs(oc): update link to openshift CLI reference (#9667) 2021-12-28 16:59:48 +01:00
David Woodward 8bfeb3759c oc: add README (#8188) 2019-10-01 13:02:28 +02:00
Kevin Kirkup 9edde0950e Add OpenShift autocompletion (#6049) 2017-11-07 07:55:24 -08:00