2 alias ls='/bin/ls $LS_OPTIONS'
4 # Check for GNU ls and add colour and ISO8601 dates if available.
5 ls=$(ls --help 2>/dev/null)
6 if echo "$ls" | grep gnu.org >/dev/null; then
7 eval `dircolors 2>/dev/null` 2>/dev/null
9 LS_OPTIONS="--color=auto -F -b"
10 if echo "$ls" | grep -- --time-style >/dev/null; then
11 LS_OPTIONS="$LS_OPTIONS --time-style=long-iso"
14 elif [ "$SYSTEM" = "Darwin" ]; then
15 export LS_OPTIONS="-G -F -b"