1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-27 08:10:08 +00:00

moved alias to the general purpose aliases section

This commit is contained in:
Fırat KÜÇÜK 2024-07-22 07:41:49 +02:00
parent 8a396e7c8a
commit 67bdc75bc9

View file

@ -15,9 +15,6 @@ kubectl completion zsh 2> /dev/null >| "$ZSH_CACHE_DIR/completions/_kubectl" &|
# This command is used a LOT both below and in daily life # This command is used a LOT both below and in daily life
alias k=kubectl alias k=kubectl
# General purpose get for the resources which don't have aliases like custom resources.
alias kg=kubectl get
# Execute a kubectl command against all namespaces # Execute a kubectl command against all namespaces
alias kca='_kca(){ kubectl "$@" --all-namespaces; unset -f _kca; }; _kca' alias kca='_kca(){ kubectl "$@" --all-namespaces; unset -f _kca; }; _kca'
@ -39,6 +36,7 @@ alias kcgc='kubectl config get-contexts'
# General aliases # General aliases
alias kdel='kubectl delete' alias kdel='kubectl delete'
alias kdelf='kubectl delete -f' alias kdelf='kubectl delete -f'
alias kg=kubectl get
# Pod management. # Pod management.
alias kgp='kubectl get pods' alias kgp='kubectl get pods'