Merge pull request #30294 from bradbeck/zsh-completion

Fix zsh completion setup
pull/30605/head
Kubernetes Prow Robot 2021-11-22 18:14:16 -08:00 committed by GitHub
commit 1c31b83f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 9 deletions

View File

@ -16,7 +16,7 @@ If you have an alias for kubectl, you can extend shell completion to work with t
```zsh ```zsh
echo 'alias k=kubectl' >>~/.zshrc echo 'alias k=kubectl' >>~/.zshrc
echo 'complete -F __start_kubectl k' >>~/.zshrc echo 'compdef __start_kubectl k' >>~/.zshrc
``` ```
After reloading your shell, kubectl autocompletion should be working. After reloading your shell, kubectl autocompletion should be working.

View File

@ -493,7 +493,7 @@ Si tienes alias para kubectl, puedes extender el completado de intérprete de co
```zsh ```zsh
echo 'alias k=kubectl' >>~/.zshrc echo 'alias k=kubectl' >>~/.zshrc
echo 'complete -F __start_kubectl k' >>~/.zshrc echo 'compdef __start_kubectl k' >>~/.zshrc
``` ```
Tras recargar tu intérprete de comandos, el auto-completado de kubectl debería funcionar. Tras recargar tu intérprete de comandos, el auto-completado de kubectl debería funcionar.

View File

@ -457,7 +457,7 @@ Si vous avez un alias pour kubectl, vous pouvez étendre la completion de votre
```shell ```shell
echo 'alias k=kubectl' >>~/.zshrc echo 'alias k=kubectl' >>~/.zshrc
echo 'complete -F __start_kubectl k' >>~/.zshrc echo 'compdef __start_kubectl k' >>~/.zshrc
``` ```
Après avoir rechargé votre shell, l'auto-complétion de kubectl devrait fonctionner. Après avoir rechargé votre shell, l'auto-complétion de kubectl devrait fonctionner.

View File

@ -472,7 +472,7 @@ Jika kamu menggunakan alias untuk `kubectl`, kamu masih dapat menggunakan fitur
```shell ```shell
echo 'alias k=kubectl' >>~/.zshrc echo 'alias k=kubectl' >>~/.zshrc
echo 'complete -F __start_kubectl k' >>~/.zshrc echo 'compdef __start_kubectl k' >>~/.zshrc
``` ```
Setelah memuat ulang terminal, penyelesaian otomatis dari `kubectl` seharusnya sudah dapat bekerja. Setelah memuat ulang terminal, penyelesaian otomatis dari `kubectl` seharusnya sudah dapat bekerja.

View File

@ -484,7 +484,7 @@ kubectlにエイリアスを張っている場合は、以下のようにシェ
```zsh ```zsh
echo 'alias k=kubectl' >>~/.zshrc echo 'alias k=kubectl' >>~/.zshrc
echo 'complete -F __start_kubectl k' >>~/.zshrc echo 'compdef __start_kubectl k' >>~/.zshrc
``` ```
シェルをリロードしたあとに、kubectlの自動補完が機能するはずです。 シェルをリロードしたあとに、kubectlの自動補完が機能するはずです。

View File

@ -16,7 +16,7 @@ kubectl에 대한 앨리어스가 있는 경우, 해당 앨리어스로 작업
```zsh ```zsh
echo 'alias k=kubectl' >>~/.zshrc echo 'alias k=kubectl' >>~/.zshrc
echo 'complete -F __start_kubectl k' >>~/.zshrc echo 'compdef __start_kubectl k' >>~/.zshrc
``` ```
셸을 다시 로드하면, kubectl 자동 완성 기능이 작동할 것이다. 셸을 다시 로드하면, kubectl 자동 완성 기능이 작동할 것이다.

View File

@ -461,7 +461,7 @@ source <(kubectl completion zsh)
```shell ```shell
echo 'alias k=kubectl' >>~/.zshrc echo 'alias k=kubectl' >>~/.zshrc
echo 'complete -F __start_kubectl k' >>~/.zshrc echo 'compdef __start_kubectl k' >>~/.zshrc
``` ```
После перезагрузки командной оболочки должны появляться дополнения ввода kubectl. После перезагрузки командной оболочки должны появляться дополнения ввода kubectl.

View File

@ -450,7 +450,7 @@ Nếu bạn có alias cho kubectl, bạn có thể mở rộng shell completion
```shell ```shell
echo 'alias k=kubectl' >>~/.zshrc echo 'alias k=kubectl' >>~/.zshrc
echo 'complete -F __start_kubectl k' >>~/.zshrc echo 'compdef __start_kubectl k' >>~/.zshrc
``` ```
Sau khi tải lại shell, kubectl autocompletion sẽ hoạt động. Sau khi tải lại shell, kubectl autocompletion sẽ hoạt động.

View File

@ -32,7 +32,7 @@ If you have an alias for kubectl, you can extend shell completion to work with t
```zsh ```zsh
echo 'alias k=kubectl' >>~/.zshrc echo 'alias k=kubectl' >>~/.zshrc
echo 'complete -F __start_kubectl k' >>~/.zshrc echo 'compdef __start_kubectl k' >>~/.zshrc
``` ```
<!-- <!--