Making commands complicated

alexandlazaris profile image Alexander Lazaris ・1 min read

Sometimes running the same ol'boring git checkout can be disinteresting, often rendering your brain zombified. Frozen in this malaise and unable to try anything else, your weary, dreary soul is left with entering repetitive commands all night long.

Why not spice things up a bit? Try changing up one of your more frequent commands to be 👩🏻‍💻, 💪🏻 and 🥇.

Easy 🚮

git checkout virt-server-things

Better ❕

git checkout ($(git branch | Select-String "virt") -replace " ", "")

Of course, this all fails if there's 2 branches with that name ... but who has one more than 1 active branch 😅

What trivial commands have you converted to hard-mode? Seen any over-complicated code in your codebase?

Remove all docker images that I had used for Kubernetes training

docker rmi $(docker images | grep "k8s" | awk '{ print $3 }')


Editor guide