W dniu 22.11.2024 o 18:13, Mihai Moldovan pisze:
* On 11/20/24 20:51, Heitor Moreira wrote:
I would like to propose the removal of the $HOME/bin directory from the default setup. [...]
Wow, this has sparked quite some discussion (and derailing).
FWIW, I suggest a middle ground that is employed by Debian: don't provide /etc/skel/bin, but check whether ~/bin and ~/.local/bin exist in /etc/skel/.profile and add these to $PATH if they do.
Using this approach, new user accounts are free to choose whether to create a bin directory in their home directory (and, frankly, most of them probably won't) and if they decide to do so, it will still work transparently after a login cycle.
Mihai
This is already implemented in /etc/profile. No change required (apart from dropping bin from skel).