When I first used rc, I simply changed my .profile to: exec /path/to/rc -l ${1+"$@"} although this obviously carries over to es.