Without this, each time the env script gets executed it will add a copy
of the paths to PATH. This can happen when shells are nested.
The "case" trick was inspired by:
184a899f45/src/cli/self_update/env.sh
Without this, each time the env script gets executed it will add a copy
of the paths to PATH. This can happen when shells are nested.
The "case" trick was inspired by:
184a899f45/src/cli/self_update/env.sh