# HG changeset patch # User Oleksandr Gavenko # Date 1464875581 -10800 # Node ID c85ac0f4c0f52f28d0b8b81da5798f9beae1a8c3 # Parent a976c73e4873d93ecfed72bfc94081234d6154a4 Fix: ls --color=auto does not work in NetBSD. diff -r a976c73e4873 -r c85ac0f4c0f5 .bashrc --- 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.