From 10dede00921b63c3b07d1b873be68bce0e7cfc7d Mon Sep 17 00:00:00 2001 From: Leonid Shevtsov Date: Tue, 18 Nov 2014 10:55:21 +0200 Subject: [PATCH] Fix fish shell conditional syntax --- bin/autojump.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/autojump.fish b/bin/autojump.fish index 0a2815f..b6635aa 100644 --- a/bin/autojump.fish +++ b/bin/autojump.fish @@ -11,7 +11,7 @@ complete -x -c j -a '(autojump --complete (commandline -t))' # set error file location -if (uname) == "Darwin" +if test (uname) = "Darwin" set -x AUTOJUMP_ERROR_PATH ~/Library/autojump/errors.log else if test -d $XDG_DATA_HOME set -x AUTOJUMP_ERROR_PATH $XDG_DATA_HOME/autojump/errors.log