On 11/20/24 9:17 PM, Aaron Puchert wrote:
Am 20.11.24 um 20:51 schrieb Heitor Moreira:
I would like to propose the removal of the $HOME/bin directory from the default setup. It clutters the user's home in exchange for very little gain in some very specific individual workflows.
For those who need an easy and user-oriented directory in $PATH, $HOME/.local/bin is already configured by default.
You probably mean "user-oriented" in the sense of per-user, but I think that ~/.local/bin is more a place for programs to install commands without root privileges. As a user, that place is not for me. If I want to install commands, I put them in ~/bin instead of the hidden ~/.local. (Hidden = not for me.)
So I think they serve different purposes: ~/.local/bin for commands installed programmatically, e.g. via pip, ~/bin for commands installed manually by the user, usually by simply putting a file there.
I agree with Aaron's explanation and the others that have responded. ~/.local/bin is used for programs installed by the regular user that are not managed by the package manager similar to how /usr/local/bin is for programs installed by root that are not managed by the package manager but are for all users. ~/bin is used for programs/commands that I have created. I suspect many users will have things in ~/bin with few if any in ~/.local/bin. I would also not want to mix programs that I installed for my user locally ( into ~/.local/bin ) with programs that I created ( ~/bin ). It would also mess with the backup process since I always backup ~/bin since it is stuff I created whereas I don't need to backup ~/.local/bin since it could just be reinstalled. Just my $0.02 -- Regards, Joe