12345678910111213141516171819202122232425262728293031 |
- # FreeBSD stuff
- # GNU ls(1) from FreeBSD ports is called gnuls(1).
- if -exe gnuls ; then
- if [ "$TERM" != "dumb" ]; then
- eval $(gdircolors -b)
- alias ls="gnuls -h --color=auto"
- alias l="gnuls -lh --color=auto"
- else
- alias ls="gnuls -h"
- alias l="gnuls -lh"
- fi
- else
- if [ "$TERM" != "dumb" ]; then
- export LSCOLORS="exfxbxdxcxegedabagacad"
- alias ls="ls -GFh"
- alias l="ls -lGFh"
- else
- alias ls="ls -Fh"
- alias l="ls -lFh"
- fi
- fi
- # GNU tar is called gtar
- -exe gtar \
- && alias tar="gtar"
- # GNU find is called gfind
- -exe gfind \
- && alias find="gfind"
|