1
0
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:
William Ting 2013-04-29 12:53:36 -05:00
parent c763b2afad
commit de98e83b25
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ import re
import shutil
from tempfile import NamedTemporaryFile
VERSION = 'release-v21.5.7'
VERSION = 'release-v21.5.8'
MAX_KEYWEIGHT = 1000
MAX_STORED_PATHS = 1000
COMPLETION_SEPARATOR = '__'

View File

@ -60,7 +60,7 @@ fi
autojump_add_to_database() {
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
}

View File

@ -29,7 +29,7 @@ function autojump_chpwd() {
else
_PWD_ARGS="-P"
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