![](https://seccdn.libravatar.org/avatar/c15f5fa155045d3d5d57689ac914f89f.jpg?s=120&d=mm&r=g)
Hi, On Fri, 2019-11-01 at 10:36 -0400, Patrick Shanahan wrote:
* Robert Munteanu <rombert@apache.org> [11-01-19 10:26]:
Hi,
I am having trouble understanding whether $HOME/bin should automatically be added to $PATH or if I should add it myself in $HOME/.bashrc. I recall this was working out of the box at some point but now it does not.
I looked in /etc/skel and /etc/profile.d but did not find any indication that it should be set.
Is $HOME/bin added by default to $PATH?
make a new <user> issue: echo $PATH
does /home/<user>/bin appear at the front of the output from "echo $PATH"?
Yes, it does. If I sudo as that user. In fact, the pattern is: - open gnome-terminal/tilix/xterm - echo $PATH /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin - sudo su - $USER ( or sudo su $USER ) - echo $PATH /home/robert/bin:/usr/local/bin:/usr/bin:/bin Where is the difference coming from? Thanks, Robert -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org