mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-30 09:40:09 +00:00
moved alias to the general purpose aliases section
This commit is contained in:
parent
8a396e7c8a
commit
67bdc75bc9
1 changed files with 1 additions and 3 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue