Unclear It is not clear what Claude Code does with variables matching this list, such as whether it blocks or removes them.
What
An environment variable is a named setting passed to programs when they start. Claude Code now has a pattern that matches names of variables that can change how a shell (the program that runs commands) behaves, including:
BASH_ENV,BASH_FUNC_*,BASH_COMPAT,BASH_XTRACEFD,BASH_ARGV0,BASH_LOADABLES_PATHBASHOPTS,SHELLOPTS,ENV,EXECIGNORE,POSIXLY_CORRECTSSH_CLIENT,SSH2_CLIENT,TMOUT
Why
These variables can make a shell run extra code or behave differently, so a list of them is likely used to treat them with care.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear what Claude Code does with variables matching this list, such as whether it blocks or removes them.