From d5d031a63400d18e977ba4e234c1d72a6cde97eb Mon Sep 17 00:00:00 2001 From: Tej Chajed Date: Wed, 28 Jan 2015 13:45:30 -0500 Subject: autojump: fix fish configuration line. Fish doesn't have an && operator, it uses the `and` builtin. Closes #36329. Signed-off-by: Mike McQuaid --- Library/Formula/autojump.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/autojump.rb b/Library/Formula/autojump.rb index 629f747df..3589b8627 100644 --- a/Library/Formula/autojump.rb +++ b/Library/Formula/autojump.rb @@ -22,7 +22,7 @@ class Autojump < Formula [[ -s $(brew --prefix)/etc/profile.d/autojump.sh ]] && . $(brew --prefix)/etc/profile.d/autojump.sh If you use the Fish shell then add the following line to your ~/.config/fish/config.fish: - [ -f #{HOMEBREW_PREFIX}/share/autojump/autojump.fish ] && . #{HOMEBREW_PREFIX}/share/autojump/autojump.fish + [ -f #{HOMEBREW_PREFIX}/share/autojump/autojump.fish ]; and . #{HOMEBREW_PREFIX}/share/autojump/autojump.fish EOS end -- cgit v1.2.3