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

6 lines
313 B
Bash
Raw Normal View History

2009-01-14 11:09:29 +00:00
#Add the following lines to your .bashrc for autojump to work
2009-01-29 15:01:46 +00:00
export PROMPT_COMMAND='autojump.py -a "$(pwd -P)"'
2009-01-14 11:09:29 +00:00
alias jstat="autojump.py --stat"
function j { new_path=$(autojump.py $@);if [ -n "$new_path" ]; then echo -e "\\033[31m${new_path}\\033[0m"; echo; cd "$new_path";ls -ltr --color=yes| tail -n 60;fi }