With shell-integration, the user would see the last value of this variable (as set by the shell-integration script. Fix this by making it local.
With shell-integration, the user would see the last value of this variable (as set by the shell-integration script. Fix this by making it local.