ls be flagged to sort
.-prefixed hidden directories and files in groups so that its output is sorted as visible directories, hidden directories, visible files, then hidden files?
I currently have ls aliased to
ls -lG --color --group-directories-first which groups directories first, but visible and hidden directories are mixed together.
Instead, the output of
ls should be:
visibleDirectoryA visibleDirectoryB .hiddenDirectoryA .hiddenDirectoryB visibleFileA visibleFileB .hiddenFileA .hiddenFileB