support for different freebsd versions
This commit is contained in:
parent
88cdbed5db
commit
56d05f5c2a
2 changed files with 5 additions and 2 deletions
5
.bashrc
5
.bashrc
|
@ -22,8 +22,11 @@ if [ -d "$HOME/.gem/ruby/2.0.0/bin" ]; then
|
|||
export PATH="$PATH:$HOME/.gem/ruby/2.0.0/bin"
|
||||
fi
|
||||
|
||||
# OS
|
||||
OS_TYPE=$(echo "$OSTYPE" | sed 's/\([a-zA-Z_\-]*\).*/\1/g')
|
||||
|
||||
# Colors
|
||||
if [ "$OSTYPE" != "FreeBSD" ]; then
|
||||
if [ "$OS_TYPE" != "freebsd" ]; then
|
||||
eval $(dircolors -b)
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue