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"
Written by Adam Stankiewicz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best #Shell Authors
Sponsored by #native_company# — Learn More
#native_title# #native_desc#