rust-autojump

Installation

bash cargo install rust-autojump

For the script to work add the following code to your .bash_profile or .zshrc ```bash rj() { searchphrase=$1 bestmatch=$(rust-autojump -s $search_phrase)

if [ $status -eq 0 ]
then
  cd $best_match
fi

echo  $best_match

}

rustjumpchpwd() { rust-autojump --add "$(pwd)" >/dev/null &! }

typeset -gaU chpwdfunctions chpwdfunctions+=rustjumpchpwd ```

Usage

rj <path>

Eg. $ rj tar /Users/mkurleto/courses/rust/rust-autojump/target