On 2022-08-17 at 10:09 +0800, b1431736...@163.com wrote: > excuse me, how can I join the custom environment variable > into the source code of Bash, and see this variable when execute env
You probably need to export the variable in .bash_profile or .bashrc files. As Chet said, there would be no need to change the bash source code.