diff options
author | Marco Seguri <seguri@users.noreply.github.com> | 2020-02-13 18:50:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 18:50:56 +0100 |
commit | 4fc570b0d4a14638322d904b48f237306ccf3adc (patch) | |
tree | c014503f6d9c593175c0c3134f329d9e51c514b3 | |
parent | f17e0219fdd38d9fabce2d96d0d283d98122733f (diff) | |
download | zsh-4fc570b0d4a14638322d904b48f237306ccf3adc.tar.gz zsh-4fc570b0d4a14638322d904b48f237306ccf3adc.tar.bz2 zsh-4fc570b0d4a14638322d904b48f237306ccf3adc.zip |
kubectl: avoid conflict with existing f aliases in kca alias (#8625)
-rw-r--r-- | plugins/kubectl/kubectl.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kubectl/kubectl.plugin.zsh b/plugins/kubectl/kubectl.plugin.zsh index cc447b87e..92688c53c 100644 --- a/plugins/kubectl/kubectl.plugin.zsh +++ b/plugins/kubectl/kubectl.plugin.zsh @@ -14,7 +14,7 @@ fi alias k=kubectl # Execute a kubectl command against all namespaces -alias kca='f(){ kubectl "$@" --all-namespaces; unset -f f; }; f' +alias kca='_kca(){ kubectl "$@" --all-namespaces; unset -f _kca; }; _kca' # Apply a YML file alias kaf='kubectl apply -f' |