A quick and fuzzy directory jumper. Kinda like autojump or z, but fuzzy.
Jump works its magic by keeping track of the directories you visit. It scores
them to give you the best match for your input. When integrated with your
shell, the j
function is available. It let's you jump across directories with
ease.
If you visit /Users/bob/Projects/website
often, type j ws
and jump
straight to it. Gone are the days of manual aliases for frequent project
directories.
See man jump
.
brew install jump
wget https://github.com/gsamokovarov/jump/releases/download/v0.5.1/jump_0.5.1_amd64.deb
sudo dpkg -i jump_0.5.1_amd64.deb
wget https://github.com/gsamokovarov/jump/releases/download/v0.5.1/jump-0.5.1-1.x86_64.rpm
sudo rpm -i jump-0.5.1-1.x86_64.rpm
You need a working Go workspace.
go get github.com/gsamokovarov/jump
git clone https://github.com/gsamokovarov/jump
cd jump
make
mv jump ~/bin # Or /usr/local/bin, if ~/bin isn't in $PATH.
Jump supports bash, zsh and fish out of the box. If your favourite shell isn't in the list below, give a heads up in the issue tracker.
To get the most out of jump, you have to integrate it with your shell. The
integration gives you the j
shell function and the automatic tracking and
scoring.
Put the line below in ~/.bashrc
or ~/bash_profile
:
eval "$(jump shell bash)"
Put the line below in ~/.zshrc
:
eval "$(jump shell zsh)"
Put the line below in ~/.config/fish/config.fish
:
status --is-interactive; and . (jump shell fish | psub)
If you find any problems with jump, please, consider reporting them to the issue tracker.
Jump is licensed under the MIT license.
Hope you find jump useful! ✨