mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
don't use --bash option in function j
This commit is contained in:
parent
b39c84ec86
commit
b318e11a6a
@ -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 }
|
||||||
|
Loading…
Reference in New Issue
Block a user