#!/bin/bash if [ -x /usr/bin/dircolors ]; then if command ls --color=auto /dev/null &> /dev/null; then if [ -r ~/.bash/dircolors ]; then eval "$(dircolors -b ~/.bash/dircolors)" else eval "$(dircolors -b)" fi export LS_OPTIONS="--color=auto" fi fi if command ls --show-control-chars /dev/null &> /dev/null; then LS_OPTIONS="$LS_OPTIONS --show-control-chars" fi if command ls -h /dev/null &> /dev/null; then LS_OPTIONS="$LS_OPTIONS -h" fi alias ls='LC_ALL=C ls $LS_OPTIONS' alias ll='ls $LS_OPTIONS -al' alias l='ls $LS_OPTIONS -l'