Don't init plenv if it isn't installed
Add the ability for a per-host kshrc
use $HOST instead of hostname=`hostname -s`

Since it is handily set for me in OpenBSD anyway
Only use gvim for vi if we are under X

My test is $DISPLAY is set but not sure if there is a better one.