Posts tagged bash
Hacking Your Bash Terminal with Custom Widgets
- 25 October 2026
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.
GNU Readline: The Magic Behind Terminal Autocomplete
- 18 October 2026
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.