diff --git a/content/en/docs/ops/diagnostic-tools/istioctl/index.md b/content/en/docs/ops/diagnostic-tools/istioctl/index.md index 7a62b50e52..be44534990 100644 --- a/content/en/docs/ops/diagnostic-tools/istioctl/index.md +++ b/content/en/docs/ops/diagnostic-tools/istioctl/index.md @@ -144,7 +144,7 @@ Additionally, if you receive `Zsh compinit: insecure directories` warnings when attempting to load these completions, you may need to run this: {{< text bash >}} -$ chmod -R go-w '$HOMEBREW_PREFIX/share/zsh' +$ chmod -R go-w "$(brew --prefix)/share" {{< /text >}} {{< /tab >}}