mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
kubectl: rename k alias (#7749)
This uses `ku` instead of `k` as an alias for kubectl. Fixes #6408
This commit is contained in:
parent
2c1880cf50
commit
978b724c4a
2 changed files with 2 additions and 3 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue