My Terminal Blueprint


Hi!

I don’t know if you’ve been following DHH’s recent rekindled love affair ❤️‍🔥 with the Terminal, but it is such a joy to see a tech thought leader sharing his excitement with multiplexers, Neovim, and Terminal user interfaces!

This, along with many questions I’ve received over the past months asking about my setup, tooling, and general workflow, inspired me to create both a video (coming out today 👀) and a written blueprint that I’m sharing here:

My Terminal Blueprint

Every setup is built with layers and different components, including an emulator, a prompt, tooling, hotkeys, and more. I’ll structure it from the ground up in a way that’s easy to follow and replicate or, better yet, use as a boilerplate to make it your own.

An emulator makes all the difference

A terminal emulator is the native program giving you access to a shell prompt. DHH uses Alacritty, as you can see above. My terminal journey started with the (terrible) MacOS terminal. Then I used the popular iTerm2 for a long time. After that, I spent a year with Alacritty, tried Kitty, and finally fell in love with Wezterm.

Wezterm, to me, has everything I want in an emulator:

  • Fast
  • Minimal looks
  • Renders everything beautifully
  • Easily configurable YAML setup
  • Great documentation

One con is its poor native window management (or lack thereof), which I think most other options also struggle with.

One project to watch is Ghostty by Mitchel Hashimoto (Hashicorp’s founder).

The shell is how things are done

I’m using the popular ZSH, mainly because I started with the even more popular project - oh-my-zsh. It feels like the same relationship developers had when getting into Ruby because of Rails a decade ago…

While I do think Fish has a lot to offer, I haven’t taken the time to properly explore it, so ZSH, coupled with the prompt I love, does everything I need:

The Prompt

I covered my use of Starship in a video last year, and I’ve been LOVING it and have never looked back! Coming from oh-my-zsh, I find Starship faster, leaner, easier to set up and configure, and it does everything I need. It comes with beautifully easy-to-understand docs and is just a sweet completion to my terminal setup.

The Multiplexer

I don’t think Tmux needs an introduction. It’s my terminal Operating System, nothing less! Tmux is my terminal splitter, space manager, and it even lets me know about upcoming calendar meetings. It’s plugged with a session manager I built and tons of other configurations. So, here’s a video covering how I set it up from scratch, and another one covering my session manager!

Tmux, as you may already know, is hosting my primary shell process: Neovim!

The only editor you’ll ever need: Neovim

Vim/Nvim is another tool that needs no introduction. I’ve made so many videos about it that it’s really hard to pick just one, so here’s all of them. There’s too much to be said about the plugins I use and how I set it up, so I’ve decided to create a dedicated video coming out next month.

CLI Tooling is just BETTER

Most of my work that involves API communication, internal commands, managing files and folders, and even code management is done within the terminal. I found many modern alternatives to Unix native commands like ls, cat, dig, tree, grep, and many more. EZA is one great example, making my ls/tree look not only beautiful but also more readable, providing git status options, and even a tree structure to my files!

If I had to pick one tool, there’s a very good chance I’d go with FZF. FZF makes everything accessible via a fuzzy picker. Whether it’s files, folders, command history, bits of code, everything becomes better using FZF. Even my Tmux session manager is built on top of an FZF feature. If you’re even an occasional terminal user, I can’t recommend it enough.

TUIs are all the rage now

Lastly, it’s important to mention the growing field of TUIs - terminal user interfaces. Users are slowly discovering the fun and efficient way to move through a terminal-based application, using Vim motions and native bindings, making everything quicker and better! Notable TUIs I’m using:

  • LazyGit (covered here)
  • K9s - for all my K8s visualization needs
  • LazyDocker (from the LazyGit author)
  • Zellij - essentially a multiplexer, but more funky with some killer features (covered here)

This pretty much sums it up. While there are MANY other tools and bindings I use, not to mention a split keyboard with macros and combos for better control (more on that is coming soon!), these are the basics. These are the tools I can’t live without, that shape the way I interact with the terminal, and through them, with other systems as well.

I hope you found it useful. Please reply with any feedback or questions.

Have a great weekend!

Whenever you’re ready, here’s how I can help you:

ESPRESSO FRIDAYS

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!

Read more from ESPRESSO FRIDAYS

You Need To Learn Docker Swarm! Ever felt like you're overcomplicating your container deployments? You might be. Today, we're diving into a Docker orchestrator that's likely already on your machine (run `docker service` for a second will ya?), but you're probably overlooking: Docker Swarm. The Underdog Orchestrator For years (for me, the past 11 years to be exact), the path has seemed to be either simple Docker Compose or the more, WAY MORE complex, Kubernetes. Compose is great for local...

LimaVM Is Probably The Best MacOS Virtual Machine I've Ever Used If you're tired of Docker Desktop bogging down your machine, or simply don't like fuff of mapping ports, mounting volumes when all you need is a small virtual environment, this one's for you. I recently discovered LimaVM, and it's a game-changer for local development. It lets you spin up Linux VMs with ease, offering a faster, lighter alternative to Docker and other VM managers for many tasks, but especially for development....

Coding Is Changing. Here's How I Stay AHEAD This issue is brought to you by: Ideas to apps in seconds with Lovable Lovable is your superhuman full stack engineer. Click here for double credits when signing up The AI revolution isn't replacing engineers (IMHO) - it's changing how they work and which skills matter most. I mean, look at the sponsor of this week, a "vibe coding" platform that creates your idea in no time. But, does it actually matter for developers / devops and other tech...