Posts in Linux

Hacking Your Zsh Terminal with Custom Widgets

Blog Post Publish Date: 2026/10/28

This blog post explains how to create custom Zsh widgets: shell functions bound to keyboard shortcuts through the Zsh Line Editor (ZLE). It's the Zsh version of Hacking Your Bash Terminal with Custom Widgets, and it ends with the same widget that reruns the current command every two seconds.

Read more ...


Hacking Your Bash Terminal with Custom Widgets

Blog Post Publish Date: 2026/10/25

This blog post explains how to create custom Bash widgets: Bash functions bound to keyboard shortcuts through the GNU Readline library. It continues GNU Readline: The Magic Behind Terminal Autocomplete, and ends with a widget that reruns the current command every two seconds.

Read more ...


GNU Readline: The Magic Behind Terminal Autocomplete

Blog Post Publish Date: 2026/10/18

This blog post explains what GNU Readline is and how it powers the line editing, history navigation, and auto-completion you use every day in the terminal. It also shows the configuration I reach for the most: making the Up and Down arrows search your command history by prefix. It's a small change that saved me a lot of keystrokes.

Read more ...


fzf: Life is Too Short for Pipe Grep

Blog Post Publish Date: 2024/04/28

This blog post explains why fzf, a command-line fuzzy finder, replaced Ctrl + R, find, and command | grep in my terminal. It also shows how to configure its Zsh widgets for searching history, files, and directories, with live previews.

Read more ...


ZSH + Starship: A Productivity Masterpiece

Blog Post Publish Date: 2024/02/08

This blog post covers how I ended up with ZSH and Starship as my terminal setup. It walks through the shells I tried along the way, my favorite ZSH plugins and ZSH options, my minimal Starship configuration, and a step-by-step guide to reproduce it from scratch.

Read more ...


Systemd Drop-in Overrides: Customize Unit Properties Without Editing the Unit File

Blog Post Publish Date: 2023/11/19

This blog post covers a cleaner way to customize a systemd service. Instead of editing the unit file, you put your changes in an override.conf drop-in file that systemd merges on top of the original. It explains why direct edits cause problems, how overrides work, and walks through a hands-on example.

Read more ...