aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-12-29 15:54:30 +0000
committerGitHub2017-12-29 15:54:30 +0000
commit80769ae0c7ca404c9436b1d7951a0b58a8404b15 (patch)
tree0305ab4418ea5aae53b1d1b34e3f1a3f96dda678
parentc6eaa73db1336b3daa2f9b1cb9962d2b9e7c8922 (diff)
parent6fe261bc5c1da9cd3629c03fd47810f743d532a4 (diff)
downloadbrew-80769ae0c7ca404c9436b1d7951a0b58a8404b15.tar.bz2
Merge pull request #3605 from DomT4/zshrc
utils: stop debug exploding when zsh is used
-rw-r--r--Library/Homebrew/utils.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index 3ea472c58..c6e7d22df 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -154,6 +154,7 @@ def interactive_shell(f = nil)
end
if ENV["SHELL"].include?("zsh") && ENV["HOME"].start_with?(HOMEBREW_TEMP.resolved_path.to_s)
+ FileUtils.mkdir_p ENV["HOME"]
FileUtils.touch "#{ENV["HOME"]}/.zshrc"
end