Skip to content

Commit

Permalink
Add kubectl alias to zshrc file
Browse files Browse the repository at this point in the history
  • Loading branch information
hironow committed May 24, 2024
1 parent 679e3cf commit 45dd9e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ export WASMER_DIR="$HOME/.wasmer"

# k8s
if _cmd_exists kubectl; then source <(kubectl completion zsh); fi
# krew
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"

# solana
export PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH"
Expand Down Expand Up @@ -157,3 +159,7 @@ alias rustdesk="/Applications/RustDesk.app/Contents/MacOS/rustdesk"

# shortcut
alias relogin='exec $SHELL -l'
if _cmd_exists kubectl; then
alias k="kubectl"
fi

0 comments on commit 45dd9e5

Please sign in to comment.