Bug 145383 - app-shells/zsh - /etc/zsh/zprofile should contain /usr/local/bin in path
Bug#: 145383 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: usata@gentoo.org Reported By: snf@extrospective.net
Component: Ebuilds
URL: 
Summary: app-shells/zsh - /etc/zsh/zprofile should contain /usr/local/bin in path
Keywords:  
Status Whiteboard: 
Opened: 2006-08-28 11:12 0000
Description:   Opened: 2006-08-28 11:12 0000
this is a very minor change but i think that in /etc/zsh/zprofile the path
statement should read as follows:

if [[ "$USER" == root ]]; then
        export PATH="/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin:${ROOTPATH}"
else
        export PATH="/bin:/usr/bin:/usr/local/bin:${PATH}"
fi

the only change here is the addition of /usr/local/bin to the path.  note that
this mirrors the path statements in /etc/profile

cheers
-snf

------- Comment #1 From Mamoru KOMACHI (RETIRED) 2006-11-02 11:57:14 0000 -------
Thanks for the bug report. Fixed in CVS now.