12345678910111213141516171819202122232425262728293031323334353637383940 |
- PATH=$PATH:/usr/ccs/bin:/usr/sfw/bin:/usr/openwin/bin
- MANPATH=/usr/man
- # pkgsrc
- if [ -d /usr/pkg ]; then
- PATH=$PATH:/usr/pkg/bin:/usr/pkg/sbin
- MANPATH=$MANPATH:/usr/pkg/man
- fi
- # blastwave
- if [ -d /opt/csw ]; then
- PATH=$PATH:/opt/csw/bin:/opt/csw/sbin
- MANPATH=$MANPATH:/opt/csw/man
- fi
- export PATH MANPATH
- # GNU ls(1) from SunOS ports is called gls(1)/gdircolors(1).
- if [ -x "$(whence gdircolors)" ]; then
- if [ -r "$DOTZSHDIR/config/dircolors" ]; then
- eval $(gdircolors -b $DOTZSHDIR/config/dircolors)
- else
- eval $(gdircolors -b)
- fi
- if [ "$TERM" != "dumb" ]; then
- alias ls="gls -h --color=auto"
- alias l="gls -lh --color=auto"
- else
- alias ls="gls -h"
- alias l="gls -lh"
- fi
- fi
- # GNU tar from SunOS ports is called gtar
- [ -x "$(whence gtar)" ] && alias tar="gtar"
- # GNU find is called gfind
- [ -x "$(whence gfind)" ] && alias find="gfind"
|