brew: prepend shims to PATH used by _system
Ensures `system` and `safe_system` use brewed git if available.
This commit is contained in:
parent
57f7b8a8a4
commit
baf75af908
@ -37,8 +37,8 @@ begin
|
||||
homebrew_path = PATH.new(ENV["HOMEBREW_PATH"])
|
||||
|
||||
# Add SCM wrappers.
|
||||
path.append(HOMEBREW_SHIMS_PATH/"scm")
|
||||
homebrew_path.append(HOMEBREW_SHIMS_PATH/"scm")
|
||||
path.prepend(HOMEBREW_SHIMS_PATH/"scm")
|
||||
homebrew_path.prepend(HOMEBREW_SHIMS_PATH/"scm")
|
||||
|
||||
ENV["PATH"] = path
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user