]> err.no Git - dotfiles/commitdiff
get rid of silly "ls is not an alias warning"
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Sat, 18 Oct 2003 14:43:51 +0000 (14:43 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Sat, 18 Oct 2003 14:43:51 +0000 (14:43 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@197 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

environment

index b86d9fe866409d02866aacd15b24daf221c50c8c..c97490cd909b4880fe94f5f1bd989fa1e53a15b0 100644 (file)
@@ -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