[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: ashrc ?
From:       Rich Felker <dalias () aerifal ! cx>
Date:       2013-08-05 23:20:48
Message-ID: 20130805232048.GQ221 () brightrain ! aerifal ! cx
[Download RAW message or body]

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
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic