To turn this feature on just use:
shopt -s cdspell
Now mispell a directory in the cd command.
cd /usk/local
still gets you to /usr/local
.
What other options can you set? The following will list all the options:
shopt -p
To turn this feature on just use:
shopt -s cdspell
Now mispell a directory in the cd command.
cd /usk/local
still gets you to /usr/local
.
What other options can you set? The following will list all the options:
shopt -p