bash smart completion directory files annoyance

To enable smart completion, edit your /etc/bash.bashrc file. Uncomment
the following lines, by removing the # in the beginning of the lines:

#if [ -f /etc/bash_completion ]; then
# . /etc/bash_completion
#fi