diff options
Diffstat (limited to 'Library/Homebrew/cmd/sh.rb')
| -rw-r--r-- | Library/Homebrew/cmd/sh.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Homebrew/cmd/sh.rb b/Library/Homebrew/cmd/sh.rb index e48313a77..bc09d4850 100644 --- a/Library/Homebrew/cmd/sh.rb +++ b/Library/Homebrew/cmd/sh.rb @@ -1,5 +1,5 @@ -require 'extend/ENV' -require 'formula' +require "extend/ENV" +require "formula" module Homebrew def sh @@ -12,10 +12,10 @@ module Homebrew ENV.setup_build_environment if superenv? # superenv stopped adding brew's bin but generally user's will want it - ENV['PATH'] = ENV['PATH'].split(File::PATH_SEPARATOR).insert(1, "#{HOMEBREW_PREFIX}/bin").join(File::PATH_SEPARATOR) + ENV["PATH"] = ENV["PATH"].split(File::PATH_SEPARATOR).insert(1, "#{HOMEBREW_PREFIX}/bin").join(File::PATH_SEPARATOR) end - ENV['PS1'] = 'brew \[\033[1;32m\]\w\[\033[0m\]$ ' - ENV['VERBOSE'] = '1' + ENV["PS1"] = 'brew \[\033[1;32m\]\w\[\033[0m\]$ ' + ENV["VERBOSE"] = "1" puts <<-EOS.undent_________________________________________________________72 Your shell has been configured to use Homebrew's build environment: this should help you build stuff. Notably though, the system versions of @@ -24,6 +24,6 @@ module Homebrew ignore our configuration. When done, type `exit'. EOS - exec ENV['SHELL'] + exec ENV["SHELL"] end end |
