Don't query online for plain brew search
This commit is contained in:
parent
9c28138889
commit
17bdfb1d38
@ -28,6 +28,7 @@ module Homebrew extend self
|
|||||||
puts msg
|
puts msg
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if query
|
||||||
$found = search_results.length
|
$found = search_results.length
|
||||||
puts_columns search_tap "adamv", "alt", rx
|
puts_columns search_tap "adamv", "alt", rx
|
||||||
puts_columns search_tap "josegonzalez", "php", rx
|
puts_columns search_tap "josegonzalez", "php", rx
|
||||||
@ -40,6 +41,7 @@ module Homebrew extend self
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def search_tap user, repo, rx
|
def search_tap user, repo, rx
|
||||||
return [] if (HOMEBREW_LIBRARY/"Taps/#{user.downcase}-#{repo.downcase}").directory?
|
return [] if (HOMEBREW_LIBRARY/"Taps/#{user.downcase}-#{repo.downcase}").directory?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user