Quickly go back to a specific parent directory instead of typing
cd ../../.. redundantly.
This is a reimplementation of vigneshwaranr/bd that utilizes the power of the zsh shell.
$ mkdir -p a/b/c/d $ cd a/b/c/d $ bd b $ ls c $ cd c/d $ bd 2 $ ls c
Here's an animation also showing the completion functionality
Thanks to @vigneshwaranr for inspiring me to do a zsh version.
Thanks to @voria for many useful patches! (see commit log)