From 3813146994124d1c89186e11bfbc76186b856151 Mon Sep 17 00:00:00 2001 From: Judson Date: Fri, 7 Nov 2014 11:54:31 -0800 Subject: [PATCH] Working test for Darwin --- bin/autojump.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/autojump.fish b/bin/autojump.fish index e4b6026..7683df9 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