mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 12:20:09 +00:00
kubectl: avoid conflict with existing f aliases in kca alias (#8625)
This commit is contained in:
parent
f17e0219fd
commit
4fc570b0d4
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue