autojump

https://github.com/joelthelion/autojump

Install

sudo apt-get install autojump

For zsh, edit ~/.zshrc and add the plugin e.g:

plugins=(autojump git mercurial python tmux virtualenv)