Perhaps you have defined an alias for ls that does this.
To start ls directly, run as \ls , for example
\ls /var/lib/mysql/
To see what the alias is added to, run: type ls .
If so, remove the alias with:
unalias ls
Otherwise, here is a workaround:
for dir in 'ls -1 .'; do echo $dir; done
source share