mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
no need for a hidden file in this directory
This commit is contained in:
parent
929ba399b5
commit
d9010198ef
@ -41,7 +41,7 @@ then
|
||||
mv ~/.autojump_errors "${AUTOJUMP_DATA_DIR}/autojump_errors" 2>>/dev/null
|
||||
fi
|
||||
|
||||
AUTOJUMP='{ (autojump -a "$(pwd -P)"&)>/dev/null 2>>${AUTOJUMP_DATA_DIR}/.autojump_errors;} 2>/dev/null'
|
||||
AUTOJUMP='{ (autojump -a "$(pwd -P)"&)>/dev/null 2>>${AUTOJUMP_DATA_DIR}/autojump_errors;} 2>/dev/null'
|
||||
if [[ ! $PROMPT_COMMAND =~ autojump ]]; then
|
||||
export PROMPT_COMMAND="${PROMPT_COMMAND:-:} ; $AUTOJUMP"
|
||||
fi
|
||||
|
@ -31,7 +31,7 @@ then
|
||||
fi
|
||||
|
||||
function autojump_preexec() {
|
||||
{ (autojump -a "$(pwd -P)"&)>/dev/null 2>>|${AUTOJUMP_DATA_DIR}/.autojump_errors ; } 2>/dev/null
|
||||
{ (autojump -a "$(pwd -P)"&)>/dev/null 2>>|${AUTOJUMP_DATA_DIR}/autojump_errors ; } 2>/dev/null
|
||||
}
|
||||
|
||||
typeset -ga preexec_functions
|
||||
|
Loading…
Reference in New Issue
Block a user