Last Updated: February 25, 2016
·
2.726K
· sheerun

Make ls list directories first

brew install coreutils

And append following to zshrc or similar:

export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
alias ls="ls --group-directories-first --color=tty"