1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Working test for Darwin

This commit is contained in:
Judson 2014-11-07 11:54:31 -08:00
parent f75d01299d
commit 3813146994

View File

@ -11,7 +11,7 @@ complete -x -c j -a '(autojump --complete (commandline -t))'
# set error file location # set error file location
if (uname) == "Darwin" if test (uname) = "Darwin"
set -x AUTOJUMP_ERROR_PATH ~/Library/autojump/errors.log set -x AUTOJUMP_ERROR_PATH ~/Library/autojump/errors.log
else if test -d $XDG_DATA_HOME else if test -d $XDG_DATA_HOME
set -x AUTOJUMP_ERROR_PATH $XDG_DATA_HOME/autojump/errors.log set -x AUTOJUMP_ERROR_PATH $XDG_DATA_HOME/autojump/errors.log