From 6da85279eb544c48e85a3714e6fe65f72fd78071 Mon Sep 17 00:00:00 2001 From: Marc Cornellà Date: Mon, 29 Apr 2019 15:48:24 +0200 Subject: Revert "kubectl: rename k alias" (#7817) This reverts commit 978b724c4aeef4113773e27e60fd20af12ca57b8 (#7749) See https://github.com/robbyrussell/oh-my-zsh/issues/6408#issuecomment-485718042 and later comments. --- plugins/kubectl/kubectl.plugin.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/kubectl/kubectl.plugin.zsh') diff --git a/plugins/kubectl/kubectl.plugin.zsh b/plugins/kubectl/kubectl.plugin.zsh index 9a4489fb6..ab7a1a0a4 100644 --- a/plugins/kubectl/kubectl.plugin.zsh +++ b/plugins/kubectl/kubectl.plugin.zsh @@ -10,7 +10,8 @@ if (( $+commands[kubectl] )); then unset __KUBECTL_COMPLETION_FILE fi -alias ku=kubectl +# This command is used a LOT both below and in daily life +alias k=kubectl # Execute a kubectl command against all namespaces alias kca='f(){ kubectl "$@" --all-namespaces; unset -f f; }; f' -- cgit v1.2.3-70-g09d2