From 55d97500565c02a70feb68dc747d9e4ef673068e Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Mon, 11 Dec 2017 09:16:39 +0000 Subject: caveats: fix fish caveats under env filtering --- Library/Homebrew/caveats.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb index 98321f1a1..aad354607 100644 --- a/Library/Homebrew/caveats.rb +++ b/Library/Homebrew/caveats.rb @@ -76,7 +76,7 @@ class Caveats def function_completion_caveats(shell) return unless keg - return unless which(shell.to_s) + return unless which(shell.to_s, ENV["HOMEBREW_PATH"]) completion_installed = keg.completion_installed?(shell) functions_installed = keg.functions_installed?(shell) -- cgit v1.2.3