comparison rc/bashrc @ 453:c3bfb45757e9

FreeBSD grep is GNU grep. Well, up to 9.x.
author Edho Arief <edho@myconan.net>
date Fri, 15 Feb 2013 18:18:18 +0900
parents abbdb936a36a
children 95fc26810152
comparison
equal deleted inserted replaced
452:a07ee25c6304 453:c3bfb45757e9
133 FreeBSD) 133 FreeBSD)
134 # Invalid characters when using en_US.UTF-8. 134 # Invalid characters when using en_US.UTF-8.
135 alias man="man -o" 135 alias man="man -o"
136 # Multi CPU awesomeness. 136 # Multi CPU awesomeness.
137 alias top="top -P" 137 alias top="top -P"
138 # FreeBSD grep is GNU grep
139 _has_gnu_grep=y
138 ;; 140 ;;
139 OpenBSD) 141 OpenBSD)
140 # GNU ls is broken in 5.2. Prioritize colorls instead. 142 # GNU ls is broken in 5.2. Prioritize colorls instead.
141 if command -v colorls > /dev/null 2>&1; then 143 if command -v colorls > /dev/null 2>&1; then
142 alias ls="colorls -F" 144 alias ls="colorls -F"