Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15489 > unrolled thread
| Started by | Eli Schwartz <eschwartz@archlinux.org> |
|---|---|
| First post | 2019-10-10 00:26 -0400 |
| Last post | 2019-10-10 00:26 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Feature request: profile.d equivalent for non-login shells Eli Schwartz <eschwartz@archlinux.org> - 2019-10-10 00:26 -0400
| From | Eli Schwartz <eschwartz@archlinux.org> |
|---|---|
| Date | 2019-10-10 00:26 -0400 |
| Subject | Re: Feature request: profile.d equivalent for non-login shells |
| Message-ID | <mailman.155.1570681617.9715.bug-bash@gnu.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 top | Article view | gnu.bash.bug
csiph-web