mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Always append to error log.
This commit is contained in:
parent
2095b2b129
commit
0d80d91805
@ -59,7 +59,7 @@ from autojump_utils import sanitize
|
||||
from autojump_utils import take
|
||||
from autojump_utils import unico
|
||||
|
||||
VERSION = '22.0.0-alpha'
|
||||
VERSION = '22.0.1-beta'
|
||||
FUZZY_MATCH_THRESHOLD = 0.6
|
||||
TAB_ENTRIES_COUNT = 9
|
||||
TAB_SEPARATOR = '__'
|
||||
|
@ -35,7 +35,7 @@ complete -F _autojump j
|
||||
# change pwd hook
|
||||
autojump_add_to_database() {
|
||||
if [[ -f "${AUTOJUMP_ERROR_PATH}" ]]; then
|
||||
(autojump --add "$(pwd)" >/dev/null 2>${AUTOJUMP_ERROR_PATH} &) &>/dev/null
|
||||
(autojump --add "$(pwd)" >/dev/null 2>>${AUTOJUMP_ERROR_PATH} &) &>/dev/null
|
||||
else
|
||||
(autojump --add "$(pwd)" >/dev/null &) &>/dev/null
|
||||
fi
|
||||
|
@ -30,7 +30,7 @@ fi
|
||||
# change pwd hook
|
||||
autojump_chpwd() {
|
||||
if [[ -f "${AUTOJUMP_ERROR_PATH}" ]]; then
|
||||
autojump --add "$(pwd)" >/dev/null 2>${AUTOJUMP_ERROR_PATH} &!
|
||||
autojump --add "$(pwd)" >/dev/null 2>>${AUTOJUMP_ERROR_PATH} &!
|
||||
else
|
||||
autojump --add "$(pwd)" >/dev/null &!
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user