mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
fix error log location
This commit is contained in:
parent
c763b2afad
commit
de98e83b25
@ -34,7 +34,7 @@ import re
|
|||||||
import shutil
|
import shutil
|
||||||
from tempfile import NamedTemporaryFile
|
from tempfile import NamedTemporaryFile
|
||||||
|
|
||||||
VERSION = 'release-v21.5.7'
|
VERSION = 'release-v21.5.8'
|
||||||
MAX_KEYWEIGHT = 1000
|
MAX_KEYWEIGHT = 1000
|
||||||
MAX_STORED_PATHS = 1000
|
MAX_STORED_PATHS = 1000
|
||||||
COMPLETION_SEPARATOR = '__'
|
COMPLETION_SEPARATOR = '__'
|
||||||
|
@ -60,7 +60,7 @@ fi
|
|||||||
|
|
||||||
autojump_add_to_database() {
|
autojump_add_to_database() {
|
||||||
if [[ "${AUTOJUMP_HOME}" == "${HOME}" ]]; then
|
if [[ "${AUTOJUMP_HOME}" == "${HOME}" ]]; then
|
||||||
autojump -a "$(pwd ${_PWD_ARGS})" 1>/dev/null 2>>"${AUTOJUMP_DATA_DIR}/.autojump_errors"
|
autojump -a "$(pwd ${_PWD_ARGS})" 1>/dev/null 2>>"${AUTOJUMP_DATA_DIR}/autojump_errors"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ function autojump_chpwd() {
|
|||||||
else
|
else
|
||||||
_PWD_ARGS="-P"
|
_PWD_ARGS="-P"
|
||||||
fi
|
fi
|
||||||
{ (autojump -a "$(pwd ${_PWD_ARGS})"&)>/dev/null 2>>|${AUTOJUMP_DATA_DIR}/.autojump_errors ; } 2>/dev/null
|
{ (autojump -a "$(pwd ${_PWD_ARGS})"&)>/dev/null 2>>|${AUTOJUMP_DATA_DIR}/autojump_errors ; } 2>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
typeset -ga chpwd_functions
|
typeset -ga chpwd_functions
|
||||||
|
Loading…
Reference in New Issue
Block a user