At the top of this file is a line reading:
Code: Select all
export path="/sbin /bin /usr/sbin /usr/bin"
Why is this line present?
I have seen it cause problems for users building certain packages; a specific example escapes me at the moment. The problem boils down to some Makefile which is using the $path variable from the environment, expecting it to be empty under some condition.
This is complicated by zsh's built-in $path variable, which makes the value of path in the environment invisible unless you launch a different shell (like bash).