DEV Community

Harry Patel
Harry Patel

Posted on

Iterm2 nuggets

If you're using Iterm2 as you terminal and have Zsh installed, here are some nuggets i've recently discovered:

  • Instead of the cd (change directory) command, navigate directories with just: 
    .. (parent dir)
    ... (parent from parent dir)
    / (root)
    ~ (home)

  • Instead of the mkdir and cd commands, use take command to create a directory and change the path to it

  • Switch between the last and current path with a hyphen -

  • List all alias commands with alias or filter them with grep alias | grep git

Top comments (0)