Added kubectl alias and krew path

This commit is contained in:
Eric Renfro 2023-11-16 21:36:23 -05:00
parent 03d246e406
commit b759db9ccb
Signed by: psi-jack
GPG Key ID: 14977F3A50D9A5BF
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,3 @@
if (( ! ${+commands[kubectl]} )); then
alias k=kubectl
fi

View File

@ -0,0 +1,4 @@
if [[ -d "$HOME/.krew/bin" || -n "$KREW_ROOT" ]]; then
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
fi