Fix p10k include

This commit is contained in:
Tim
2020-01-24 16:08:38 +01:00
parent 5955e04a32
commit e6b0199bac
30 changed files with 16882 additions and 22 deletions

View File

@ -1,18 +0,0 @@
#compdef kubectx kctx=kubectx
local KUBECTX="${HOME}/.kube/kubectx"
PREV=""
local all_contexts="$(kubectl config get-contexts --output='name')"
if [ -f "$KUBECTX" ]; then
# show '-' only if there's a saved previous context
local PREV=$(cat "${KUBECTX}")
_arguments \
"-d:*: :(${all_contexts})" \
"(- *): :(- ${all_contexts})"
else
_arguments \
"-d:*: :(${all_contexts})" \
"(- *): :(${all_contexts})"
fi

View File

@ -0,0 +1 @@
/home/tim/.kubectx/completion/kubectx.zsh

View File

@ -0,0 +1 @@
/home/tim/.kubectx/completion/kubens.zsh