Red Hat Bugzilla – Bug 67110
Zsh startup files forget to add ~/bin to $PATH
Last modified: 2007-04-18 12:43:19 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408
Description of problem:
The $HOME/bin component isn't added to the $PATH.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. echo $PATH
Actual Results: The $HOME/bin is absent there
Expected Results: $HOME/bin should be present somewhere near the end of $PATH
In RHL releases <=7.1 the ~/bin was added by /etc/zshrc (the line was "($path
Currently zsh's path setting is unified with bash's in /etc/profile, but bash
doesn't suffer from this error since every user has "PATH=$PATH:$HOME/bin" in
their ~/.bash_profile (see /etc/skel/.bash_profile).
I'd suggest adding to /etc/profile the line
"pathmunge $HOME/bin after"
"pathmunge /usr/X11R6/bin after"
Added in 4.0.4-8