Skip to content

Commit dc29d59

Browse files
committed
[zh] Replace external paywall link
1 parent 08b0cd7 commit dc29d59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh-cn/docs/tasks/tools/included/optional-kubectl-configs-bash-mac.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ There are two versions of bash-completion, v1 and v2. V1 is for Bash 3.2
4242
script **doesn't work** correctly with bash-completion v1 and Bash 3.2.
4343
It requires **bash-completion v2** and **Bash 4.1+**. Thus, to be able to
4444
correctly use kubectl completion on macOS, you have to install and use
45-
Bash 4.1+ ([*instructions*](https://itnext.io/upgrading-bash-on-macos-7138bd1066ba)).
45+
Bash 4.1+ ([*instructions*](https://apple.stackexchange.com/a/292760)).
4646
The following instructions assume that you use Bash 4.1+
4747
(that is, any Bash version of 4.1 or newer).
4848
-->
4949
bash-completion 有两个版本:v1 和 v2。v1 对应 Bash 3.2(也是 macOS 的默认安装版本),
5050
v2 对应 Bash 4.1+。kubectl 的补全脚本**无法适配** bash-completion v1 和 Bash 3.2。
5151
必须为它配备 **bash-completion v2****Bash 4.1+**
5252
有鉴于此,为了在 macOS 上使用 kubectl 补全功能,你必须要安装和使用 Bash 4.1+
53-
[**说明**](https://itnext.io/upgrading-bash-on-macos-7138bd1066ba))。
53+
[**说明**](https://apple.stackexchange.com/a/292760))。
5454
后续说明假定你用的是 Bash 4.1+(也就是 Bash 4.1 或更新的版本)。
5555
{{< /warning >}}
5656

0 commit comments

Comments
 (0)