[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Running package bashrc when starting a shell

From: Reza Housseini
Subject: Running package bashrc when starting a shell
Date: Sun, 27 Nov 2022 20:50:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3

Hello list

I'm packaging openfoam 10 and stumbled upon a little issue. Openfoam has a bashrc which sets all environment variables when using it. I'm wondering how I can make the package so, that when a shell with openfoam is run, the bashrc gets sourced automatically. I tried putting it into /etc/bashrc and /etc/profile.d/bashrc but none were successful. Another attempt was to set the environment variable $BASH_ENV but that did not work out either. I'm a little out of ideas and thought maybe someone more advanced in packaging can help me here.


Reza Housseini

This message is signed with my GnuPG key:

    C0F3 0812 9AF2 80F4 0830 C2C1 C375 C6AF 0512 5C52

Attachment: OpenPGP_0xC375C6AF05125C52.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]