FreeBSD compat
This commit is contained in:
parent
c751ccbef7
commit
52d74216a7
2 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,10 @@
|
|||
alias sudo='sudo '
|
||||
|
||||
if [ "$OSTYPE" == "FreeBSD" ]; then
|
||||
alias ls='ls --color=auto'
|
||||
else
|
||||
alias ls='ls -D'
|
||||
fi
|
||||
alias ll='ls -lih'
|
||||
alias la='ls -A'
|
||||
alias l='ls -lihA'
|
||||
|
|
2
.bashrc
2
.bashrc
|
@ -23,7 +23,9 @@ if [ -d "$HOME/.gem/ruby/2.0.0/bin" ]; then
|
|||
fi
|
||||
|
||||
# Colors
|
||||
if [ "$OSTYPE" != "FreeBSD" ]; then
|
||||
eval $(dircolors -b)
|
||||
fi
|
||||
|
||||
# append to the history file, don't overwrite it
|
||||
shopt -s histappend
|
||||
|
|
Loading…
Reference in a new issue