Little Helper in Oh-My-Zsh – the d command

If you navigate a lot on the terminal there are some little helpers that can make your life easier. One particular unknown is the d command in zsh.

d shows you the folders you recently navigated to, such as:

0 ~/projects/docker/systemtests
1 ~/projects
2 ~/projects/joomla/joomla-cms
3 ~/projects/joomla-extensions/weblinks
4 ~
5 ~/projects/compojoom/lib_compojoom

To jump into one of these folders just type the number and hit return.

E.g. 1 + return would bring me into my projects folder

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.