mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-26 16:28:58 +01:00
kubectl: avoid conflict with existing f aliases in kca alias (#8625)
This commit is contained in:
parent
f17e0219fd
commit
4fc570b0d4
@ -14,7 +14,7 @@ fi
|
|||||||
alias k=kubectl
|
alias k=kubectl
|
||||||
|
|
||||||
# Execute a kubectl command against all namespaces
|
# 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
|
# Apply a YML file
|
||||||
alias kaf='kubectl apply -f'
|
alias kaf='kubectl apply -f'
|
||||||
|
Loading…
Reference in New Issue
Block a user