aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorSamuel John2012-11-13 12:50:24 +0100
committerMike McQuaid2013-01-11 11:16:11 +0000
commitbc3c07d197e010e080af2e44cd896828be10e0ff (patch)
tree125f21cc6b3709ce849608f6e3019ae6fffb9e51 /Library/Homebrew/utils.rb
parent5c799ef8c8720306a9dfb4db1e47f647e06f9857 (diff)
downloadbrew-bc3c07d197e010e080af2e44cd896828be10e0ff.tar.bz2
Give a fresh 🍺 after hard work of brew install
- Name of the brewed formula in "Summary" heading. - At the beginning of the summary line a 🍺 is given out (but only on Lion or above). This acts as a nice visual marker for the end of a brew-ing process. - When brewing a dependency, the name is highlighted in green. - `oh1` is bold, too (like ohai). Closes Homebrew/homebrew#16020. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/utils.rb')
-rw-r--r--Library/Homebrew/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index d91df676b..150cf3c76 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -42,7 +42,7 @@ end
def oh1 title
title = title.to_s[0, Tty.width - 4] if $stdout.tty? unless ARGV.verbose?
- puts "#{Tty.green}==> #{Tty.reset}#{title}"
+ puts "#{Tty.green}==>#{Tty.white} #{title}#{Tty.reset}"
end
def opoo warning