diff options
| author | Markus Reiter | 2017-04-28 12:39:00 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-04-30 21:11:28 +0200 |
| commit | 22f624b373d77ede5c15db6f62672bdd81e6c9da (patch) | |
| tree | 2e74f0456b0d8e9707b19c545735208f939c00fe /Library/Homebrew/cmd | |
| parent | e70f2ec33233422b70db047338aa85d9e2088042 (diff) | |
| download | brew-22f624b373d77ede5c15db6f62672bdd81e6c9da.tar.bz2 | |
Make `PATH` enumerable.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/sh.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/sh.rb b/Library/Homebrew/cmd/sh.rb index 1e86784cb..69f329cb3 100644 --- a/Library/Homebrew/cmd/sh.rb +++ b/Library/Homebrew/cmd/sh.rb @@ -23,7 +23,7 @@ module Homebrew ENV.setup_build_environment if superenv? # superenv stopped adding brew's bin but generally users will want it - ENV["PATH"] = PATH.new(PATH.new(ENV["PATH"]).to_a.insert(1, HOMEBREW_PREFIX/"bin")) + ENV["PATH"] = PATH.new(ENV["PATH"]).insert(1, HOMEBREW_PREFIX/"bin") end ENV["PS1"] = 'brew \[\033[1;32m\]\w\[\033[0m\]$ ' ENV["VERBOSE"] = "1" |
