FreeBSD compat

This commit is contained in:
Rodolphe Breard 2013-04-24 16:43:50 +02:00
parent c751ccbef7
commit 52d74216a7
2 changed files with 8 additions and 2 deletions

View file

@ -1,6 +1,10 @@
alias sudo='sudo ' alias sudo='sudo '
alias ls='ls --color=auto' if [ "$OSTYPE" == "FreeBSD" ]; then
alias ls='ls --color=auto'
else
alias ls='ls -D'
fi
alias ll='ls -lih' alias ll='ls -lih'
alias la='ls -A' alias la='ls -A'
alias l='ls -lihA' alias l='ls -lihA'

View file

@ -23,7 +23,9 @@ if [ -d "$HOME/.gem/ruby/2.0.0/bin" ]; then
fi fi
# Colors # Colors
eval $(dircolors -b) if [ "$OSTYPE" != "FreeBSD" ]; then
eval $(dircolors -b)
fi
# append to the history file, don't overwrite it # append to the history file, don't overwrite it
shopt -s histappend shopt -s histappend