aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2017-12-11 09:37:32 +0000
committerGitHub2017-12-11 09:37:32 +0000
commit9356c9bc84442c4aaf9df2a20fb6702e85990a2b (patch)
treefc9f8358b6e258376d8eb3c77068ae955ab77458 /Library/Homebrew
parent7411da36e584bc4955a0429f43251cae039968a8 (diff)
parent55d97500565c02a70feb68dc747d9e4ef673068e (diff)
downloadbrew-9356c9bc84442c4aaf9df2a20fb6702e85990a2b.tar.bz2
Merge pull request #3554 from DomT4/caveats_2
caveats: fix fish caveats under env filtering
Diffstat (limited to 'Library/Homebrew')
-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)