Skip to content

Commit

Permalink
zsh: kubectl aliases
Browse files Browse the repository at this point in the history
Adds several kubectl aliases after removing zsh abbrev.

Renames kubectl autocompletion not to start with `kubectl` string for
fast `kube<TAB>` command autocompletion in shell prompt.
  • Loading branch information
tiborsimko committed Dec 23, 2021
1 parent c5f6bf1 commit 1ed29d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ alias cp='cp -i'
alias e="$EDITOR"
alias ee="emacsclient -c -n"
alias g="git"
alias kubectl_zsh_setup_autocompletion="source <(kubectl completion zsh)"
alias kgj="kubectl get jobs"
alias kgn="kubectl get nodes"
alias kgp="kubectl get pods"
alias l="ls -la --color"
alias ll="ls -l --color"
alias mv='mv -i'
Expand Down

0 comments on commit 1ed29d6

Please sign in to comment.