sbin has been removed from default PATH
I just update iTerm2 to Build 3.5.0beta22 from 3.4.23 to get a bug fix. Now /usr/sbin
and /sbin
is not present in the PATH
environment variable. I'm using Fish 3.2.2 as the shell. Seems to happen with Bash and Zsh as well. In the Terminal application the paths are still present. I've not modified the shell config file. I've configured the PATH
environment variable in ~/.config/fish/config.fish
as follows:
set PATH /opt/homebrew/bin /usr/local/bin $PATH
- iTerm2 version: Build 3.5.0beta22
- OS version: 14.3
- com.googlecode.iterm2.plist
Detailed steps to reproduce the problem:
- Inspect the
PATH
environment variable:echo $PATH
- Update iTerm to Build 3.5.0beta22
- Inspect the
PATH
environment variable again
What happened: /usr/sbin
and /sbin
was removed from the PATH
environment variable
What should have happened: the above paths should be present in the PATH
environment variable
I've attached a screenshot that shows the PATH
environment variable before and after the update.
Edited by Jacob Carlborg