maybe just 'eval "declare -gx var=value"' in bash.c code On Wed, Aug 17, 2022, 17:53 Chet Ramey <chet.ra...@case.edu> wrote:
> On 8/16/22 10:09 PM, b1431736...@163.com wrote: > > > Bash Version: 5.1 > > Patch Level: 16 > > Release Status: release > > > > Description: > > excuse me, how can I join the custom environment variable into > the source code of Bash, and see this variable when execute env > > What is it you want to do? You rarely need to add code to bash to do > something like that. > > -- > ``The lyf so short, the craft so long to lerne.'' - Chaucer > ``Ars longa, vita brevis'' - Hippocrates > Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/ > > >