123456789101112131415161718192021222324252627282930313233 |
- # FreeBSD stuff
- # using colortail if available
- [ -x "$(whence colortail)" ] && alias lm="colortail -n 60 -k /usr/local/share/examples/colortail/conf.messages -f /var/log/syslog"
- # GNU ls(1) from FreeBSD ports is called gnuls(1).
- if [ -x "$(whence 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
- [ -x "$(whence gtar)" ] && alias tar="gtar"
- # GNU find is called gfind
- [ -x "$(whence gfind)" ] && alias find="gfind"
|