Skip to content
Code & Tools

Shell Aliases That Save Us an Hour a Week

Theo Marsh
1 min read
1,409
Cover photo for “Shell Aliases That Save Us an Hour a Week”

None of these aliases is clever. Together they remove a surprising amount of typing from an ordinary week.

Reading work aloud is the cheapest editing tool there is. Your ear catches rhythm problems that your eye skips over, especially in long sentences.

.aliases
alias gs='git status -sb'
alias gl='git log --oneline --graph -20'
alias sync-site='rsync -avz --delete public/ studio:/var/www/site/'
alias webp='for f in *.jpg; do cwebp -q 80 "$f" -o "${f%.jpg}.webp"; done'

Every studio accumulates habits it never chose. Once a year we list them and ask whether each one still earns its place.

1
Continue reading

Related posts

All posts
Conversation

Comments · 1

Posting as guest · Sign in
  1. Grace Whitfield ·

    Small typo in the third paragraph, but otherwise a perfect read with my morning coffee.