diff --git a/autojump.bash b/autojump.bash index afbc2e8..a730ca7 100644 --- a/autojump.bash +++ b/autojump.bash @@ -11,4 +11,4 @@ _autojump() complete -F _autojump j 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 } +function j { new_path="$(autojump $@)";if [ -n "$new_path" ]; then echo -e "\\033[31m${new_path}\\033[0m"; cd "$new_path";fi }