Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145383 - app-shells/zsh - /etc/zsh/zprofile should contain /usr/local/bin in path
Summary: app-shells/zsh - /etc/zsh/zprofile should contain /usr/local/bin in path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-28 11:12 UTC by Stephen Floor
Modified: 2006-11-02 11:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Floor 2006-08-28 11:12:31 UTC
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 Mamoru KOMACHI (RETIRED) gentoo-dev 2006-11-02 11:57:14 UTC
Thanks for the bug report. Fixed in CVS now.