Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15489
| From | Eli Schwartz <eschwartz@archlinux.org> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Feature request: profile.d equivalent for non-login shells |
| Date | 2019-10-10 00:26 -0400 |
| Message-ID | <mailman.155.1570681617.9715.bug-bash@gnu.org> (permalink) |
| References | <b55874243158a37fb81e196106032054@ifohancroft.com> <374cee84-651a-7731-8834-d5d3001f5201@archlinux.org> |
[Multipart message — attachments visible in raw view] - view raw
On 10/10/19 12:20 AM, lists@ifohancroft.com wrote: > Hi Everyone! > > I'm IFo. > > I would like to request the addition of a bashrc.d folder in /etc that > gets sourced by /etc/bashrc for non-login shells. A non-login shells > equivalent to profile.d > > This would make for a very elegant and beautiful solution for when > software needs a script to be sourced for a non-login shell profile.d isn't a thing, except inasmuch as your Linux distro most likely includes code in /etc/profile to check for files in /etc/profile.d/ and source those too. So, feel free to add the same for loop in your /etc/bashrc, in order to source /etc/bashrc.d/* files. I don't think there is anything to be done in the bash project itself. -- Eli Schwartz Arch Linux Bug Wrangler and Trusted User
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: Feature request: profile.d equivalent for non-login shells Eli Schwartz <eschwartz@archlinux.org> - 2019-10-10 00:26 -0400
csiph-web