mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Merge remote-tracking branch 'hwartig/fix-integration-for-fish-2.3'
This commit is contained in:
commit
7874719e4a
@ -1,4 +1,4 @@
|
|||||||
set -x AUTOJUMP_SOURCED 1
|
set -gx AUTOJUMP_SOURCED 1
|
||||||
|
|
||||||
# set user installation path
|
# set user installation path
|
||||||
if test -d ~/.autojump
|
if test -d ~/.autojump
|
||||||
@ -17,11 +17,11 @@ complete -x -c j -a '(autojump --complete (commandline -t))'
|
|||||||
|
|
||||||
# set error file location
|
# set error file location
|
||||||
if test (uname) = "Darwin"
|
if test (uname) = "Darwin"
|
||||||
set -x AUTOJUMP_ERROR_PATH ~/Library/autojump/errors.log
|
set -gx 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 -gx AUTOJUMP_ERROR_PATH $XDG_DATA_HOME/autojump/errors.log
|
||||||
else
|
else
|
||||||
set -x AUTOJUMP_ERROR_PATH ~/.local/share/autojump/errors.log
|
set -gx AUTOJUMP_ERROR_PATH ~/.local/share/autojump/errors.log
|
||||||
end
|
end
|
||||||
|
|
||||||
if test ! -d (dirname $AUTOJUMP_ERROR_PATH)
|
if test ! -d (dirname $AUTOJUMP_ERROR_PATH)
|
||||||
|
Loading…
Reference in New Issue
Block a user