ashrc ?

Rich Felker dalias at aerifal.cx
Mon Aug 5 23:20:48 UTC 2013


On Mon, Aug 05, 2013 at 10:24:41AM +0200, John Spencer wrote:
> is there something like /etc/ashrc or ~/.ashrc supported, to execute
> a couple of commands whenever a shell session is started ?

Per POSIX, the shell sources $ENV when started, or sources .profile if
it's a login shell. My .profile just sets up some environment
variables (including $ENV) and then sources $ENV so that I get
basically the same behavior either way.

Rich


More information about the busybox mailing list