From: tfheen Date: Sat, 18 Oct 2003 14:43:51 +0000 (+0000) Subject: get rid of silly "ls is not an alias warning" X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8399117323d33a840ee48a4f9baa17faad6a8531;p=dotfiles get rid of silly "ls is not an alias warning" git-svn-id: file:///svn/tfheen/trunk/dotfiles@197 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/environment b/environment index b86d9fe..c97490c 100644 --- a/environment +++ b/environment @@ -6,7 +6,7 @@ for lsopt in -B --color=auto -FN; do ls $lsopt > /dev/null 2>&1 && LS_OPTIONS="$LS_OPTIONS $lsopt" done -if [ `uname -s` = "FreeBSD" ]; then +if [ `uname -s` = "FreeBSD" ] && alias | grep -q "alias ls"; then unalias ls fi