From 12c252855a660b0964e08504f2087fadf1015760 Mon Sep 17 00:00:00 2001 From: ihatetoregister Date: Sat, 5 Nov 2016 00:17:02 +0100 Subject: [PATCH] Added a hint how to link a formula that is installed but not linked --- Library/Homebrew/cmd/install.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 0867e893ad..dcf46e5fab 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -142,6 +142,7 @@ module Homebrew msg = "#{current.full_name}-#{current.installed_version} already installed" unless current.linked_keg.symlink? || current.keg_only? msg << ", it's just not linked" + puts "You can link formula with `brew link #{f}`" end opoo msg elsif f.migration_needed? && !ARGV.force?