Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why not just alias 'gti' to 'git'? I don't see what constructive purpose this serves. The only situation where it might matter is if you were using lots of different systems and didn't want to copy your aliases file over, though that's pretty simple nowadays, thanks to Git itself.


It serves the same purpose that sl serves. A minor somewhat amusing annoyance that gets tiresome over time, forcing you to drop the bad habit.

Aliasing it to 'sleep 2 ; git' would do the same thing, but would lack the embarrassment and amusement that the animation gives.

Of course mostly that is just an excuse. "Because it is fun" is really the only reason that there needs to be.


I've been tempted to do things like this alias, but it's a slippery slope; I don't want to train my muscle memory to type the wrong thing, and if it's silently accepted that's what is likely to happen. This way, the command gets run but you get a reminder that you typed the wrong thing, I guess.

Now I need something to stop me typing 'pythong' in shebangs.


It's more fun.


You're right. How dare we have fun on the internet!?


What would there be to blog about if he did that? Blogging is a sign of intelligence, and if you just do something simple and don't tell anyone, how smart are you really?

I use an even more failsafe technique: typing the word "git" correctly each time.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: