Top
Best
New

Posted by theblazehen 2 days ago

Start all of your commands with a comma (2009)(rhodesmill.org)
377 points | 134 commentspage 3
nickelpro 3 hours ago|
Properly manage PATH for the context you're in and this is a non-issue. This is the solution used by most programming environments these days, you don't carry around the entire npm or PyPI ecosystem all the time, only when you activate it.

Then again, I don't really believe in performing complex operations manually and directly from a shell, so I don't really understand the use-case for having many small utilities in PATH to begin with.

elhosots 1 hour ago||
I think its a fairly good idea - but for myself, i had already mapped csh’s default history character (!) to a comma (,) for the same reason - no shift key to invoke.
Dove 2 hours ago||
In many contexts in which I am trying to deconflict namespaces, I use my initials. I hadn't thought about it in this particular context, though now that I do, it seems fortunate that I am ced rather than sed.
Tade0 3 hours ago||
As a non-native English speaker I just name them in my native language or using British English spelling.

I have a command named "decolour", which strips (most) ANSI escape codes. Clear as day what it does, almost nobody uses this spelling when naming commands that later land as part of a distribution.

temporallobe 3 hours ago||
I don’t think this is a terrible idea, though stylistically it bothers me. I suppose you could simply have a prefix command router that would essentially do the same thing. I also started using “task” recently and it’s been a game changer for my CLI life.
mogoh 3 hours ago|
What is task?
alex-moon 3 hours ago||
It is like make but designed specifically for the way non-C(++) users - people like me for example adding scripts like "make run" and "make build" to my node/python/PHP/etc repos - use it. It is great! I still don't use it literally just because make is already installed on any *nix system I encounter day to day.
karolist 4 hours ago||
Interesting, though I never had enough custom scripts to justify this, I prefer oh-my-zsh plugin style short aliases instead, i.e. https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/git
dadandang 5 hours ago||
,Start all of your commands with a comma
zdc1 4 hours ago||
Should be titled Prefix your script names with a comma. Current title is a little clickbait-y through its ambiguity.
albert_e 4 hours ago||
Agree.

I thought the title meant I should type ,ls instead of ls.

JamesTRexx 4 hours ago||
,sudo make me a sammich

Like so?

tezza 4 hours ago||
This is a really good practical step if you worry about name collisions

quick, easy and consistent. entirely voluntary.

Bravo

skerit 3 hours ago|
I would have never thought of that. Funny that a comma can be used like that.

Off-topic: What the hell is that font on this website? And why does the "a" look like that?

More comments...