Merge pull request #3605 from DomT4/zshrc

utils: stop debug exploding when zsh is used
This commit is contained in:
Mike McQuaid 2017-12-29 15:54:30 +00:00 committed by GitHub
commit 80769ae0c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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