Back to tags

#shell

1 blog post · 2 TILs.

Notes on the command line as a working surface. The git post is the daily set — the ten or so commands that survived, plus the aliases worth having. Bash parameter expansion does most of what people reach for sed and awk to do, in-process and without spawning a subshell. And there is a single zsh function that turns a question into an answer inline, with the useful twist that it pre-types a command into the prompt rather than explaining it, so you never leave the terminal.

Blog posts

Ten years of git distilled into eight daily aliases: gst, glola, gd, gcam, an fzf branch picker, and the weekly branch-pruning ritual that keeps repos…

Today I learned

Asking a chat UI for a one-line command is too much friction. A 15-line zsh function and a `print -z` trick fix it, with one oh-my-zsh footgun along the…
Bash has built-in string manipulation that's faster than spawning sed or awk. The patterns that replaced 80% of my pipeline calls, with a cheat sheet.

Related tags

Shell: 3 posts on zsh, bash and the CLI · Infra Magician