Skip to content

Commit

Permalink
🌱 adding completion
Browse files Browse the repository at this point in the history
  • Loading branch information
batistein authored Jul 27, 2024
1 parent 53423e6 commit 147452c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dot_zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ export PATH="/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/usr/local/go/bin

# load zsh completion files
fpath=(~/.zsh/completions $fpath)
autoload -U compinit && compinit

source <(kubectl completion zsh)
alias k=kubectl
compdef __start_kubectl k

setopt inc_append_history share_history autocd autopushd pushdignoredups
setopt COMPLETE_ALIASES

zstyle ':completion::complete:*' gain-privileges 1

Expand Down

0 comments on commit 147452c

Please sign in to comment.