...
Info | ||
---|---|---|
| ||
|
Apple M2 에서 kubectl command 자동완성 및 alias k를 설정 하고 싶어.
Code Block |
---|
$ vi ~/.zshrc autoload -Uz compinit compinit source <(kubectl completion zsh) compdef __start_kubectl k alias k=kubectl $ source ~/.zshrc |
...
...
Info | ||
---|---|---|
| ||
|
Code Block |
---|
$ vi ~/.zshrc autoload -Uz compinit compinit source <(kubectl completion zsh) compdef __start_kubectl k alias k=kubectl $ source ~/.zshrc |
...