Skip to content
daniel@MacBookPro:~
Shell & Terminal

Shell & Terminal posts

Bash, Zsh, sh, tcsh, and the TUI tools built on top of them — prompts, scripting, multiplexers, and terminal troubleshooting.

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