Auto-correct at the linux terminal

I came across this nugget some time back, which is helpful for people like me who type faster than their small brains can keep up with.

The long and short of it is, there’s a shell option that you can enable that automatically does some magic behind the scenes so that this can happen:

Just drop the below into your bashrc or run it in a live terminal to try it out. 

shopt -s cdspell

Me likey.

something to add?