pull/365/merge
Lénárd Szolnoki 8 months ago committed by GitHub
commit 2a03b2188f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,11 +36,13 @@ complete -F _autojump j
# change pwd hook
autojump_add_to_database() {
local ret_value="$?"
if [[ -f "${AUTOJUMP_ERROR_PATH}" ]]; then
(autojump --add "$(pwd)" >/dev/null 2>>${AUTOJUMP_ERROR_PATH} &) &>/dev/null
else
(autojump --add "$(pwd)" >/dev/null &) &>/dev/null
fi
return "$ret_value"
}
case $PROMPT_COMMAND in

Loading…
Cancel
Save