DEV Community

Ryan Lynch (he/him)
Ryan Lynch (he/him)

Posted on

 

McLear: From typo to a fun alias 🍔🍟

I mistakenly typed mclear in place of clear in my zsh terminal, and came up with a fun alias! Enjoy!

alias mclear='FOOD=(🍔 🍟); for i in {1..10000}; do printf "${FOOD[($RANDOM % ${#FOOD[@]}) + 1]}"; done'
Enter fullscreen mode Exit fullscreen mode

The alias in action!

Oldest comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git