Re: add custom environment variable in bash source code
From:
Ángel
Subject:
Re: add custom environment variable in bash source code
Date:
Thu, 18 Aug 2022 03:10:34 +0200
On 2022-08-17 at 10:09 +0800, b1431736437@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.