Skip to content
daniel@MacBookPro:~

post type

Deep Dive

Conceptual, architectural explainers — how a subsystem actually works underneath.

Shell & TerminalDeep Dive September 1, 2026 2 min read

How Tab Completion Actually Works in Bash and Zsh

Pressing Tab and getting a sensible list of filenames, commands, or flags looks simple from the outside. Underneath, it's a programmable system matching the word you're typing against rules specific to the command you're running.

#deep-dive#completion#bash
Read more
Shell & TerminalDeep Dive August 31, 2026 3 min read

Terminal Emulators vs. Shells: What Each One Actually Does

'Terminal' and 'shell' get used interchangeably constantly, but they're genuinely separate programs with separate jobs — one draws characters on screen and manages input, the other interprets commands.

#deep-dive#terminal#pty
Read more
Shell & TerminalDeep Dive August 30, 2026 3 min read

How Shell Prompt Customization Actually Works

That colorful prompt showing your git branch, exit code, and current directory isn't a separate program running alongside your shell — it's a string your shell re-evaluates before every single command.

#deep-dive#prompt#bash
Read more
Shell & TerminalDeep Dive August 28, 2026 2 min read

tcsh and csh: Why FreeBSD's Shell Heritage Isn't POSIX

FreeBSD's default shells didn't evolve from the Bourne shell lineage Bash and Zsh belong to — they descend from an entirely separate design philosophy, one built to feel more like C than like a scripting language.

#deep-dive#tcsh#csh
Read more
Shell & TerminalDeep Dive August 27, 2026 3 min read

How Shell Expansion and Globbing Actually Work

By the time a command you typed actually runs, the shell has already rewritten it — expanding variables, substituting command output, and turning wildcard patterns into real filenames. Here's the exact order that happens in.

#deep-dive#bash#globbing
Read more