Re: is there a startup script?

Daniel L Newhouse <[email protected]> Sun, 28 Mar 2021 16:24:29 -0500
Newsgroups alt.comp.lang.shell.unix.bourne-bash
Message-ID <[email protected]>
On Sun, 28 Mar 2021 15:16:15 -0500, Daniel L Newhouse
<[email protected]> wrote:

There's another reason to use OpenBSD instead of Darwin.  The
nix-Darwin symbol looks like the devil.  

>On Sun, 28 Mar 2021 15:12:58 -0500, Daniel L Newhouse
><[email protected]> wrote:
>
>Maybe it should be OpenBSD to avoid the Macintosh association.
>
>>On Fri, 26 Mar 2021 12:30:06 -0500, "Michael F. Stemper"
>><[email protected]> wrote:
>>
>>I remember cygwin being more fliexible.  Basically, it needs to based
>>on Darwin.  Which means it needs to be like a Macintosh. 
>>
>>>On 25/03/2021 16.15, Daniel L Newhouse wrote:
>>>> I'm looking through the OReilly book.  I'm used to the t-shell.  Does
>>>> this shell have a startup script?
>>>
>>>Well, there is ~/.profile, which I mostly use for setting environment
>>>variables. It's only run (as I understand it) for login shells. However,
>>>if you're running in a windowing environment, other windows appear to
>>>inherit all of those variables.
>>>
>>>Then, there is ~/.bashrc, which bash runs for non-login shells.
>>>
>>>There is also ~/.bash_aliases, which is used to set command aliases in
>>>interactive use. My ~/.bashrc conditionally executes it (the condition
>>>being if ~/.bash_aliases exists). I don't think that this is really
>>>a fundamental part of the bash ecosystem.