Merge pull request #3605 from DomT4/zshrc
utils: stop debug exploding when zsh is used
This commit is contained in:
commit
80769ae0c7
@ -154,6 +154,7 @@ def interactive_shell(f = nil)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if ENV["SHELL"].include?("zsh") && ENV["HOME"].start_with?(HOMEBREW_TEMP.resolved_path.to_s)
|
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"
|
FileUtils.touch "#{ENV["HOME"]}/.zshrc"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user