aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2017-12-24 20:59:34 +0000
committerDominyk Tiller2017-12-24 20:59:34 +0000
commit6fe261bc5c1da9cd3629c03fd47810f743d532a4 (patch)
tree291f0cab83cdf6d912f68111d825845756e2110a /Library
parent2259e369eaa943d885605c8643819eeac00ab62e (diff)
downloadbrew-6fe261bc5c1da9cd3629c03fd47810f743d532a4.tar.bz2
utils: stop debug exploding when zsh is used
Diffstat (limited to 'Library')
-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