1
0
mirror of https://github.com/wting/autojump synced 2024-09-28 22:10:45 +00:00
wting_autojump/autojump.zsh
2009-03-30 09:34:24 +02:00

8 lines
226 B
Bash
Executable File

function preexec() {
(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"; cd "$new_path";fi }