ok this might even be a better option to run the prompt command in the background

pull/18/head
Joel Schaerer 16 years ago
parent b21f004061
commit a6fb3b7fe7

@ -9,6 +9,6 @@ _autojump()
return 0
}
complete -F _autojump j
export PROMPT_COMMAND='autojump -a "$(pwd -P)"'
export PROMPT_COMMAND='(autojump -a "$(pwd -P)"&)>/dev/null'
alias jumpstat="autojump --stat"
function j { new_path="$(autojump $@)";if [ -n "$new_path" ]; then echo -e "\\033[31m${new_path}\\033[0m"; echo; cd "$new_path";fi }

Loading…
Cancel
Save