--group-directories-first causes directories to be listed on the top, which makes the output of
ls nice and clean:
ls -l --group-directories-first
However, it does not act on
symlinks, which are actually
symlinks to directories. There is a possibility to use
ls -l -L --group-directories-first
which will list both kind of directories on top, but will not distinguish between proper directory and symlinked directory, which is again confusing.
ls display symlinked directories on top, while still keeping them distinct from regular directories?
I am using