nRF Connect for VS Code v2025.8.654+ on Ubuntu 24.04, always shows a false warning that the shell config overwrites ZEPHYR_BASE when a terminal window is open. The variable is not defined anywhere in shell, env, or VS Code. Same config works fine in v2025.5.152 (no warning).
Is anyone else having this issue and does someone have a fix?
Steps to Reproduce:
- Install VS Code and nRF Connect for VS Code on Ubuntu 24.04.
- Use a clean workspace with no manual ZEPHYR_BASE set in shell config (.bashrc, .profile, etc.), environment, or VS Code settings.
- Select the nRF Connect extension.
- Open a terminal (with the 'Open terminal' option, CTRL-` or any other way)
The extension shows a persistent warning in the bottom-right (see attached screenshot):
"Shell initialization overwrites ZEPHYR_BASE
Your shell configuration file appears to overwrite the ZEPHYR_BASE environment variable. Overwriting the variable can cause west commands to use the wrong installation of the nRF Connect SDK in the built-in terminal. More information page."
The screenshot below shows the warning while no ZEPHYR environment variables are set. (the screenshot was taken from a devcontainer but even a brand new Linux installation behaves this way)
