diff --git a/content/zh/docs/ops/diagnostic-tools/istioctl/index.md b/content/zh/docs/ops/diagnostic-tools/istioctl/index.md index e416d7bd9f..70d7cf7a0a 100644 --- a/content/zh/docs/ops/diagnostic-tools/istioctl/index.md +++ b/content/zh/docs/ops/diagnostic-tools/istioctl/index.md @@ -139,7 +139,7 @@ $ rm -f ~/.zcompdump; compinit 您可能需要运行以下命令: {{< text bash >}} -$ chmod -R go-w '$HOMEBREW_PREFIX/share/zsh' +$ chmod -R go-w "$(brew --prefix)/share" {{< /text >}} {{< /tab >}}