From e6c3e69e9891dc3fdc256cee29bb72e6ccb31d53 Mon Sep 17 00:00:00 2001 From: Eric Van Norman Date: Fri, 15 Sep 2023 15:58:50 -0500 Subject: [PATCH] Fix insecure directory command (#13880) --- content/en/docs/ops/diagnostic-tools/istioctl/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 >}}