From ea28345fd43fbf10fb97e55f4984db35d3811263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=85=E8=BF=9B=E8=B6=85?= Date: Wed, 22 Dec 2021 21:22:20 +0800 Subject: [PATCH] [zh] synchronize install-kubectl-*.md --- content/zh/docs/tasks/tools/install-kubectl-linux.md | 4 ++-- content/zh/docs/tasks/tools/install-kubectl-macos.md | 4 ++-- .../zh/docs/tasks/tools/install-kubectl-windows.md | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/content/zh/docs/tasks/tools/install-kubectl-linux.md b/content/zh/docs/tasks/tools/install-kubectl-linux.md index f2ce6dd263..6f9457297b 100644 --- a/content/zh/docs/tasks/tools/install-kubectl-linux.md +++ b/content/zh/docs/tasks/tools/install-kubectl-linux.md @@ -276,11 +276,11 @@ kubectl version --client ### 启用 shell 自动补全功能 {#enable-shell-autocompletion} -kubectl 为 Bash 和 Zsh 提供自动补全功能,可以减轻许多输入的负担。 +kubectl 为 Bash、Zsh、Fish 和 PowerShell 提供自动补全功能,可以为你节省大量的输入。 下面是为 Bash 和 Zsh 设置自动补全功能的操作步骤。 diff --git a/content/zh/docs/tasks/tools/install-kubectl-macos.md b/content/zh/docs/tasks/tools/install-kubectl-macos.md index 4b0a4ec159..f11352598a 100644 --- a/content/zh/docs/tasks/tools/install-kubectl-macos.md +++ b/content/zh/docs/tasks/tools/install-kubectl-macos.md @@ -273,11 +273,11 @@ If you are on macOS and using [Macports](https://macports.org/) package manager, ### 启用 shell 自动补全功能 {#enable-shell-autocompletion} -kubectl 为 Bash 和 Zsh 提供自动补全功能,这可以节省许多输入的麻烦。 +kubectl 为 Bash、Zsh、Fish 和 PowerShell 提供自动补全功能,可以为你节省大量的输入。 下面是为 Bash 和 Zsh 设置自动补全功能的操作步骤。 diff --git a/content/zh/docs/tasks/tools/install-kubectl-windows.md b/content/zh/docs/tasks/tools/install-kubectl-windows.md index 3a59cf1185..a52e7bd375 100644 --- a/content/zh/docs/tasks/tools/install-kubectl-windows.md +++ b/content/zh/docs/tasks/tools/install-kubectl-windows.md @@ -225,16 +225,16 @@ Edit the config file with a text editor of your choice, such as Notepad. ### 启用 shell 自动补全功能 {#enable-shell-autocompletion} - -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" >}}