1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

remove spurious newline

This commit is contained in:
Joel Schaerer 2009-03-08 15:37:42 +01:00
parent 7b824b752d
commit 29046f4dce

View File

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