Navigate in the zsh directory stack

~n can be used to navigate down the directory stack in zsh:

Argon ~ $ cd /a
Argon /a $ cd /b
Argon /b $ cd /c
Argon /c $ cd ~2 # navigates to /a

Setting negative values for n can be used for navigation relative to the bottom of the stack.

(More information)