.shrc examples

I'd like to tidy up my ~/.shrc and in the process was wondering what sort enhancements people have made to the file provided in a default configuration.
 
/etc/profile includes:

Code:
export EDITOR=/usr/local/bin/nano
export VISUAL=/usr/local/bin/nano

export TERM=xterm-256color

export PATH=/usr/local/libexec/ccache:$PATH
export CCACHE_PATH=/usr/bin:/usr/local/bin

/.profile (probably nothing unusual here):

Code:
% grep -v \# /.profile | uniq
HOME=/root
export HOME
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:~/bin
export PATH
TERM=${TERM:-xterm}
export TERM
PAGER=less
export PAGER

ENV=$HOME/.shrc; export ENV

if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi

%

(Generally, very little of interest, because (off topic) sh is not my preferred shell.)
 
Back
Top