Add backup script
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -27,13 +27,13 @@
|
||||
fi
|
||||
}
|
||||
|
||||
_kubeswitch-completion() {
|
||||
_kubeswitch_completion() {
|
||||
local dir="$HOME/.kube"
|
||||
local config="$dir/config"
|
||||
compadd -- ''${(f)"$(find "$dir" -maxdepth 1 \( -type f -o -type l \) -not -name 'config' -exec basename {} \;)"}
|
||||
}
|
||||
|
||||
compdef _kubeswitch-completion kubeswitch
|
||||
compdef _kubeswitch_completion kubeswitch
|
||||
'';
|
||||
|
||||
p10k.extraRightPromptElements = [ "kubecontext" ];
|
||||
|
Reference in New Issue
Block a user