-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please consider renaming the executable #16
Comments
I think you're right. I actually needed to change one of my aliases to tm- because of the tm gem. But I'd like to hear some more opinions on this. Thanks for the feedback! |
Sorry for the delay for this reply. You are probably right, but right now I think it can bring some Thanks in advance for all your help :-) On Mon, Aug 1, 2011 at 8:13 AM, rbq <
Rafael George |
I think you have the right idea here: we should default to gem name, if someone wants a short alias (which I do) we can create our own without making such a bold assumption of others use. |
I'd like to bring this up again. Imho removing the binary is not necessary, renaming it to "ticketmaster" would be perfectly fine. |
+1 On Thu, Mar 15, 2012 at 3:38 PM, rbq <
Ron Evans |
Hi, you chose an abbreviated name for the executable that differs from the Gem name to anticipate a heavy users will to set up a congruent alias. I believe that's a bad idea for the following reasons:
tm
alias is the shortcut for "open with TextMate or open the current directory if no file name given" for years. I was quite surprised that this alias was broken when I installed a Gem that is not even called "tm". I don't see an easy way to keep my existing alias and add another one (like "ticket" or "ticketmaster") other than forking and keeping a local checkout (or remove/rename the executable after each update).tm
as their alias. I myself don't use the executable atm, but if I did on a daily basis, I'd probably end up creating even shorter aliases liketa
to add andtl
to list tickets. For everything else I'd probably prefer enteringtick[tab]
.ticket[tab]
and wonder why there isn't a binary available. The other way around you may discover a "tm" executable sitting in your Rubygems bin directory butgem list tm
only mentions "tmail". Imho consistency should take priority over (assumed) ease of access.Would love to hear other opinions. Is it just me or is naming executables after the Gem considered best practice?
The text was updated successfully, but these errors were encountered: