loading...

Tip 1: Per Directory ZShell History

twitter logo github logo ・1 min read

One Tip a Day (6 Part Series)

1) Tip 1: Per Directory ZShell History 2) Tip 2: History Forgets Common Commands 3 ... 4 3) Tip 3: Create a `tmp` Alias 4) Tip 4: Git Commit Templates & Conventional Commits 5) Tip 5: Replacing ls with exa 6) Tip 6: Bat, Rip, & Skim

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:

https://github.com/jimhester/per-directory-history

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


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

twitter logo DISCUSS
Classic DEV Post from Sep 13 '19

Follow Friday: Which DEVs would you recommend following?

Follow Friday: Which DEVs would you recommend following?

David McKay profile image
👦 He / Him ☸️ CKA / CKAD / K8s Release Team 💼 DevRel @InfluxDB 👌 #CloudNative, #InfluxDB, #Kubernetes