#!/bin/bash # =========================================================================== # Title : zz_nocolors.sh # Description : Disable LS colors if /etc/nocolors exists # Author : Bart Sjerps # License : GPLv3+ # --------------------------------------------------------------------------- test -f /etc/nocolors || return alias ls &>/dev/null && unalias ls alias ll='ls -al ' alias l.='ls -d .* ' export S_COLORS=never