. /etc/path.conf

if [ "$DISPLAY" ] ; then
	TERM=xterm
else
	TERM=linux
fi

PS1="eh?> "
PS2='eeeh?> '
ignoreeof=10


export PATH TERM PS1 PS2 ignoreeof
#export SHINIT='. /etc/profile'


# push/pop support

if [ -r /etc/push_pop.conf ]; then
        . /var/lib/push_pop.lib
fi

# Environment settings

. /etc/color

export HAS_COLOR=`cat /etc/colors.conf 2>/dev/null`

# cd with correct PS1

cd()
{
command cd "$@" && export PS1="`pwd`# "
}

cd


# ls() diversion

ls()
{
/bin/ls `cat /etc/ls.conf` "$@"
}


[ "`which ddate`" ] && ddate 
[ "`which fortune`" ] && fortune

