Hi friends!Today we’re diving deep into improving your terminal history management. Exploring techniques that can transform your command line experience from frustrating to fluid. To do that, we’ll explore three levels of terminal command management, from basic to advanced.
|
Pro tip: Add export HISTSIZE=10000 to your .bashrc or .zshrc file to increase the number of commands your shell remembers.
FZF takes your history search to the next level:
Ctrl-R now brings up an interactive fuzzy search of your history. Type a few characters, and FZF will find matching commands, even if they’re not exact matches.You can tweak FZF in many ways, including the style and looks of it: bash
export FZF_CTRL_T_OPTS="--height 60% \
--border sharp \
--layout reverse \
--prompt '∷ ' \
--pointer ▶ \
--marker ⇒"
Check out my video tutorial on setting up and using FZF.
For those ready to take their history management to the next level, Atuin offers unparalleled features:
I’ve created an in-depth guide on setting up and using Atuin to its full potential.
Start with the basics, ensuring you’re comfortable with Ctrl-R and the history command. Then, graduate to FZF for a more intuitive search experience. Finally, for those who want the ultimate in history management, give Atuin a try.
Remember, the goal is to reduce friction in your workflow. Experiment with these tools and find the combination that works best for you. You might be surprised at how much time and frustration you can save with just a few tweaks to your terminal setup.
Thanks for reading and have a great weekend!
Every once in a while I send hand picked things I've learned. Kind of like your filter to the tech internet. No spam, I promise!
I’m Done With Manual Proxies. (Use Traefik Instead) This issue is brought to you by: Incident.io: Move fast when you break things The all-in-one AI platform for on-call, incident response, and status pages—built for fast-moving teams. Get started for FREE! If you’ve ever felt like pulling your hair out while manually editing Nginx config files just to add one simple container, this is for you. Modern infrastructure is dynamic, but our proxies are often static. In the old days, you’d spin up a...
I replaced Docker with THIS. This issue is brought to you by: Graphite: The next generation of code review. Graphite is the AI code review platform where teams ship higher code, faster. Get started for FREE! You know why you’re here. Because reproducible environments make you tick but too much friction? makes you.. sick 🥁. After 12 years of containerizing / virtualenv-ing, I’ve finally found something that ticks all the boxes. I’m talking about throwing out npm, rvm, nix-env, virtualenv and...
Wait... NGINX can do WHAT?! This issue is brought to you by: Reliable DNS hosting & domain name managementWith DNSimple! From a streamlined interface to single-click integrations, DNSimple delivers the tools you need to simplify your day. Developers and system admins love our single-click integrations and automation tools for domains, DNS, and more. Enterprise teams simplify management of the most complex domain environments through our NEW Domain Control Plane. Try FREE for 30 days! Most...