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 '
|
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'
|
||||||
|
|
4
.bashrc
4
.bashrc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue