sebastinas/yafc — pull request #11 by TheJosh (2012-04-23 11:58:47+00:00)
Title: Implied -a for ls command when a dot-file is specified

It looks over all of the specified glob-patterns first
and if any of them begin with a ".", it implies the -a
flag.

This allows for:
ls .htaccess
ls .ht*
to behave as expected.