.bashrc
changeset 799 c85ac0f4c0f5
parent 795 6e8756ef4fdd
child 811 b41cb471a3d0
--- a/.bashrc	Thu Jun 02 16:15:01 2016 +0300
+++ b/.bashrc	Thu Jun 02 16:53:01 2016 +0300
@@ -136,7 +136,9 @@
 
 # LANG=C for speed.
 alias grep='GREP_COLOR="31;47" LANG=C grep -n --color=auto'
-alias ls='ls --color=auto'
+case $OSTYPE in
+  linux*|cygwin) alias ls='ls --color=auto' ;;
+esac
 alias minicom='minicom -c on'
 
 # Weeks start on Monday.