What does shopt -s dirspell do?

Viewed 2557

I cannot figure it out, i understand shopt -s cdspell but cannot find out what shopt -s dirspell does.

The Bash Reference Guide says:

dirspell

If set, Bash attempts spelling correction on directory names during word completion if the directory name initially supplied does not exist.

I tried several times on several directories but that is not the behavior.

I'm using bash 4.2.10(2) on i386-apple-darwin10.7.0

2 Answers
Related