mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 15:44:26 +08:00
kubectl: rename k alias (#7749)
This uses `ku` instead of `k` as an alias for kubectl. Fixes #6408
This commit is contained in:
1 parent
2c1880cf50
commit
978b724c4a
2 files changed
+2
-3
No files matched your search
@@ -10,8 +10,7 @@ if (( $+commands[kubectl] )); then
|
||||
unset __KUBECTL_COMPLETION_FILE
|
||||
fi
|
||||
|
||||
# This command is used a LOT both below and in daily life
|
||||
alias k=kubectl
|
||||
alias ku=kubectl
|
||||
|
||||
# Execute a kubectl command against all namespaces
|
||||
alias kca='f(){ kubectl "$@" --all-namespaces; unset -f f; }; f'
|
||||
|
||||
Reference in new issue
Block a user