aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorMax Howell2009-08-31 18:23:41 +0100
committerMax Howell2009-08-31 18:23:41 +0100
commit84d034f9fbfdcba14dd24405e039188662c811f6 (patch)
tree102a2c3061eb841a22b5837d70911ef0091d0a78 /Library/Homebrew/utils.rb
parent2a72c2fa0e01fa2f7c65880db9d6ed5aebe67ebe (diff)
downloadbrew-84d034f9fbfdcba14dd24405e039188662c811f6.tar.bz2
docs is an alias for doc sometimes apparently
We don't install documentation to save space. It seems pointless in this modern age where the online docs are probably more up to date. However I do believe this should be an option, defaulting to "don't install".
Diffstat (limited to 'Library/Homebrew/utils.rb')
-rw-r--r--Library/Homebrew/utils.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index 160eda881..2bd05e15d 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -49,7 +49,13 @@ end
def interactive_shell
pid=fork
- exec ENV['SHELL'] if pid.nil?
+ if pid.nil?
+ # TODO make the PS1 var change pls
+ #brown="\[\033[0;33m\]"
+ #reset="\[\033[0m\]"
+ #ENV['PS1']="Homebrew-#{HOMEBREW_VERSION} #{brown}\W#{reset}\$ "
+ exec ENV['SHELL']
+ end
Process.wait pid
raise SystemExit, "Aborting due to non-zero exit status" if $? != 0
end