aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2017-12-11 09:16:39 +0000
committerDominyk Tiller2017-12-11 09:16:39 +0000
commit55d97500565c02a70feb68dc747d9e4ef673068e (patch)
treefc9f8358b6e258376d8eb3c77068ae955ab77458 /Library
parent7411da36e584bc4955a0429f43251cae039968a8 (diff)
downloadbrew-55d97500565c02a70feb68dc747d9e4ef673068e.tar.bz2
caveats: fix fish caveats under env filtering
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/caveats.rb2
1 files changed, 1 insertions, 1 deletions
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)