New comment by leahneukirchen on void-packages repository https://github.com/void-linux/void-packages/pull/39264#issuecomment-1369037248 Comment: Why would this work? Doesn't bash start with /etc/profile, which then sources /etc/profile.d/*? In any case, setting it later in .profile overrides this.