diff --git a/docs/Utils/Shell.html b/docs/Utils/Shell.html
index 18ed4460f..6b450c952 100644
--- a/docs/Utils/Shell.html
+++ b/docs/Utils/Shell.html
@@ -1057,7 +1057,7 @@
rc_profile = "#{Dir.home}/.rcrc"
return rc_profile if File.exist? rc_profile
when :zsh
- return "#{ENV["ZDOTDIR"]}/.zshrc" if ENV["ZDOTDIR"].present?
+ return "#{ENV["HOMEBREW_ZDOTDIR"]}/.zshrc" if ENV["HOMEBREW_ZDOTDIR"].present?
end
SHELL_PROFILE_MAP.fetch(preferred, "~/.profile")