There's a merged pull request on the void-packages repository bash: define NON_INTERACTIVE_LOGIN_SHELLS https://github.com/void-linux/void-packages/pull/39376 Description: #### Testing the changes - I tested the changes in this PR: **YES** https://bugs.archlinux.org/task/50567 https://github.com/bminor/bash/blob/f3a35a2d601a55f337f8ca02a541f8c033682247/NEWS#L1880-L1881 This also fixes loading `~/.bash_profile`/`~/.profile` when using gnome with GDM.