Jumpy is a tool that allows to quickly jump to one of the directory you've visited in the past.
It is heavily inspired by Zoxide but is more lightweight and a lot faster.
In its current version it is mostly intended for my personal use, if I find to work well enough I'll improve the documentation and add new features.
Updates can be found in the changelog or in the releases.
For ZSH shells:
```shell function z() { local result=$(jumpy query "$1" --checked --after "$PWD")
if [[ -n $result ]]; then
export __JUMPY_DONT_REGISTER=1
cd "$result"
export __JUMPY_DONT_REGISTER=0
fi
}
function jumpyhandler() { if (( $JUMPYDONT_REGISTER )); then return fi
emulate -L zsh
jumpy inc "$PWD"
}
chpwdfunctions=(${chpwdfunctions[@]} "jumpy_handler") ```
This will allow Jumpy to register each change of directory to add them to its database.
To perform a query and jump to it, just use z <query>
.
```shell
jumpy query
jumpy add
jumpy list
jumpy clear ```