Skip to content

Commit a4425c9

Browse files
committed
feat: add k8s completion alias
1 parent 26d3280 commit a4425c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

zsh/.zshrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,6 @@ fi
165165
fpath=(${ASDF_DIR}/completions $fpath)
166166
# initialise completions with ZSH's compinit
167167
autoload -Uz compinit && compinit
168-
169-
170-
source "/home/khoahd/.oh-my-zsh/custom/themes/spaceship.zsh-theme"
168+
alias k=kubectl
169+
source <(kubectl completion zsh)
170+
compdef k='kubectl'

0 commit comments

Comments
 (0)