Merge pull request #31073 from shuaijinchao/zh/sync/install-kubectl

[zh] synchronize install-kubectl-*.md
This commit is contained in:
Kubernetes Prow Robot
2021-12-27 18:32:18 -08:00
committed by GitHub
3 changed files with 10 additions and 10 deletions
@@ -276,11 +276,11 @@ kubectl version --client
### 启用 shell 自动补全功能 {#enable-shell-autocompletion}
<!--
kubectl provides autocompletion support for Bash and Zsh, which can save you a lot of typing.
kubectl provides autocompletion support for Bash, Zsh, Fish, and PowerShell, which can save you a lot of typing.
Below are the procedures to set up autocompletion for Bash and Zsh.
-->
kubectl 为 Bash 和 Zsh 提供自动补全功能,可以减轻许多输入的负担
kubectl 为 Bash、Zsh、Fish 和 PowerShell 提供自动补全功能,可以为你节省大量的输入
下面是为 Bash 和 Zsh 设置自动补全功能的操作步骤。
@@ -266,11 +266,11 @@ If you are on macOS and using [Macports](https://macports.org/) package manager,
### 启用 shell 自动补全功能 {#enable-shell-autocompletion}
<!--
kubectl provides autocompletion support for Bash and Zsh, which can save you a lot of typing.
kubectl provides autocompletion support for Bash, Zsh, Fish, and PowerShell which can save you a lot of typing.
Below are the procedures to set up autocompletion for Bash and Zsh.
-->
kubectl 为 Bash 和 Zsh 提供自动补全功能,可以节省许多输入的麻烦
kubectl 为 Bash、Zsh、Fish 和 PowerShell 提供自动补全功能,可以为你节省大量的输入
下面是为 Bash 和 Zsh 设置自动补全功能的操作步骤。
@@ -225,16 +225,16 @@ Edit the config file with a text editor of your choice, such as Notepad.
### 启用 shell 自动补全功能 {#enable-shell-autocompletion}
<!--
kubectl provides autocompletion support for Bash and Zsh, which can save you a lot of typing.
<!--
kubectl provides autocompletion support for Bash, Zsh, Fish, and PowerShell, which can save you a lot of typing.
Below are the procedures to set up autocompletion for Zsh, if you are running that on Windows.
Below are the procedures to set up autocompletion for PowerShell.
-->
kubectl 为 Bash 和 Zsh 提供自动补全功能,可以减轻许多输入的负担
kubectl 为 Bash、Zsh、Fish 和 PowerShell 提供自动补全功能,可以为你节省大量的输入
下面是设置 Zsh 自动补全功能的操作步骤,前提是你在 Windows 上面运行的是 Zsh
下面是设置 PowerShell 自动补全功能的操作步骤。
{{< include "included/optional-kubectl-configs-zsh.md" >}}
{{< include "included/optional-kubectl-configs-pwsh.md" >}}
<!--
### Install `kubectl convert` plugin