Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

root's path



Hello.

How zsh sets root's $path (and $PATH)?
bash uses /etc/profile, for sudo completion there are /etc/zsh/zshrc and
$PATH for non root is in /etc/zsh/zshenv. But I can't find root path
anywhere.

I have one machine on which path for root not changed:
% =sudo ifconfig
sudo: ifconfig: command not found
% =sudo -s
# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
#

What should I check?

-- 
sergio.



Messages sorted by: Reverse Date, Date, Thread, Author