It’s clever, but is not aesthetic. A comma feels unnatural in the fs.
Start all of your commands with a comma (2009)
31–40 of 252 posts
Re: Start all of your commands with a comma (2009)
#32> Like many Unix users, I long ago created a ~/bin/ directory in my home directory `.local/bin` seems to be much more common in my experience for this use case. And for good reason.
Re: Start all of your commands with a comma (2009)
#33> Like many Unix users, I long ago created a ~/bin/ directory in my home directory `.local/bin` seems to be much more common in my experience for this use case. And for good reason.
Re: Start all of your commands with a comma (2009)
#34Why so many people use ~/bin/? What’s wrong with ~/.local/bin?
~/.local was only invented around 2003 and gained widespread usage maybe 15 years or so ago...
People used ~/bin already in the 90s ;-)
Re: Start all of your commands with a comma (2009)
#35I didn't like the idea. I prefer the alternative approach: _I_ decide the order of dirs in the PATH env. If I introduce an executable with a name, that overrides a system one - I probably do that intentionally. If I introduce an alias (like `grep='grep --binary-files=without-match --ignore-case --color=auto`) that matches the name of a system binary - I probably do that intentionally. And if I EVER need to call grep…
Because I cannot imagine much 3rd party scripts working with random flags added to core tools
Re: Start all of your commands with a comma (2009)
#36Re: Start all of your commands with a comma (2009)
#37I didn't like the idea. I prefer the alternative approach: _I_ decide the order of dirs in the PATH env. If I introduce an executable with a name, that overrides a system one - I probably do that intentionally. If I introduce an alias (like `grep='grep --binary-files=without-match --ignore-case --color=auto`) that matches the name of a system binary - I probably do that intentionally. And if I EVER need to call grep…
I've never had this collision problem yet, despite appending my script directory to the end, but I'll use either of the above solutions if that ever becomes a problem.
Re: Start all of your commands with a comma (2009)
#38I didn't like the idea. I prefer the alternative approach: _I_ decide the order of dirs in the PATH env. If I introduce an executable with a name, that overrides a system one - I probably do that intentionally. If I introduce an alias (like `grep='grep --binary-files=without-match --ignore-case --color=auto`) that matches the name of a system binary - I probably do that intentionally. And if I EVER need to call grep…
curious if you're customizing anyway, why not use eg ripgrep?
Re: Start all of your commands with a comma (2009)
#39Re: Start all of your commands with a comma (2009)
#40,Start all of your commands with a comma
Like so?