From cff42a8a8cc7be31f159c9ed9f3e940940a53ac0 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 2 Jun 2018 21:00:48 +0200 Subject: [PATCH] =?UTF-8?q?Show=20remote=20Casks,=20even=20if=20available?= =?UTF-8?q?=20locally=20=E2=80=A6=20for=20now.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/Homebrew/search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/search.rb b/Library/Homebrew/search.rb index e00826506f..1a695ff620 100644 --- a/Library/Homebrew/search.rb +++ b/Library/Homebrew/search.rb @@ -30,7 +30,7 @@ module Homebrew tap = Tap.fetch(match["repository"]["full_name"]) full_name = "#{tap.name}/#{name}" - if tap.installed? + if tap.installed? && !match["path"].start_with?("Casks/") [formulae, casks] elsif match["path"].start_with?("Casks/") [formulae, [*casks, full_name].sort]