DEV Community

Cover image for Tip 1: Per Directory ZShell History
David McKay
David McKay

Posted on

Tip 1: Per Directory ZShell History

You probably enter a lot of different commands into your terminal every day, right? Those commands could be useful in every directory ... sure; but more often than not, they're specific to the directory you're in.

So why do you use a global command history? That changes today:

If you find that you need to search your global history, you can switch back and forward with Ctrl + g

Want to see more history tips and tricks? Check out my dotfiles

Top comments (0)