4d1b5407784e97ba461d336339f7d8bf1be34757
Fix behavior to match ls's when the -d flag but no files or directories were passed. Fix bug that the function thinks -d is passed when a long option that contains a 'd' (as --group-directories-first) is specified and thus just emulates plain `ls` in that case.
Description
Languages
Shell
79.7%
Vim Script
18.7%
JavaScript
0.6%
CSS
0.6%
Python
0.3%