1
0
mirror of https://github.com/wting/autojump synced 2024-09-28 14:00:46 +00:00

don't use --bash option in function j

This commit is contained in:
xiaonaitong 2011-09-20 18:45:42 +08:00
parent b39c84ec86
commit b318e11a6a

View File

@ -52,4 +52,4 @@ case $PROMPT_COMMAND in
esac esac
alias jumpstat="autojump --stat" alias jumpstat="autojump --stat"
function j { new_path="$(autojump --bash $@)";if [ -n "$new_path" ]; then echo -e "\\033[31m${new_path}\\033[0m"; cd "$new_path";else false; fi } function j { new_path="$(autojump $@)";if [ -n "$new_path" ]; then echo -e "\\033[31m${new_path}\\033[0m"; cd "$new_path";else false; fi }