There's a closed pull request on the void-packages repository bash: define SSH_SOURCE_BASHRC https://github.com/void-linux/void-packages/pull/50280 Description: This makes bash agree with its documentation at https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html ``` Bash attempts to determine when it is being run with its standard input connected to a network connection, as when executed by the historical remote shell daemon, usually rshd, or the secure shell daemon sshd. If Bash determines it is being run non-interactively in this fashion, it reads and executes commands from ~/.bashrc, if that file exists and is readable. [...] ``` Notes: - Disabled by upstream in 2.05a (2001), manual never changed - This is enabled in Debian, Fedora, Gentoo, ... To avoid this feature, add ``` [[ $- != *i* ]] && return ``` to the top of ~/.bashrc to skip running it in non-interactive mode. #### Testing the changes - I tested the changes in this PR: **YES**