News for hackers. Stuff that matters.
Re:The Fuck – An app which corrects your previous console co... by savanaly on Monday April 17, 2017 @04:07PM (#14133972)
For those who don't know, you can make git pish have the same effect as git push by creating an alias between pish and push. Useful to do for any misspellings you make more than once.

$ git config --global alias.pish push

Re:The Fuck – An app which corrects your previous console co... by headmelted on Monday April 17, 2017 @04:14PM (#14134018)
Cannot for the life of me tell if this is a serious suggestion.
Re:The Fuck – An app which corrects your previous console co... by oxguy3 on Monday April 17, 2017 @05:06PM (#14134428)
I've actually done this for a couple commands I screw up often enough -- I have this in my bashrc:

  alias dumbtypo="echo 'LEARN TO TYPE, MORON'"
  alias sl="dumbtypo; ls"
  alias rbuy="dumbtypo; ruby"
  alias pytohn="dumbtypo; python"
  alias brwe="dumbtypo; brew"
  alias arhcey="dumbtypo; archey"
Re:The Fuck – An app which corrects your previous console co... by mod on Monday April 17, 2017 @05:47PM (#14134707)
I'm incredulous that 'pythong' is not in there.

I can't not-type it.

Re:The Fuck – An app which corrects your previous console co... by Sunset on Tuesday April 18, 2017 @04:07AM (#14137165)
You ... type "python"? Not pyt[tab]?
Re:The Fuck – An app which corrects your previous console co... by taude on Monday April 17, 2017 @09:58PM (#14135956)
I type pythong all the time, too.
Re:The Fuck – An app which corrects your previous console co... by calibration263 on Monday April 17, 2017 @07:42PM (#14135409)
I was worried I was the only one!
Re:The Fuck – An app which corrects your previous console co... by giancarlostoro on Monday April 17, 2017 @05:28PM (#14134569)
if you sudo apt install sl you will have more fun making that typo ;)
Re:The Fuck – An app which corrects your previous console co... by jdc0589 on Monday April 17, 2017 @04:17PM (#14134045)
there are a couple things I typo frequently enough I've seriously considered it...
Re:The Fuck – An app which corrects your previous console co... by savanaly on Monday April 17, 2017 @04:36PM (#14134193)
It is-- what is the perceived downside?
Re:The Fuck – An app which corrects your previous console co... by brianwawok on Monday April 17, 2017 @04:54PM (#14134334)
You have a giant list of common typos, making you a worse and worse typer as years go on, until you are mashing your head on the keyboard to type anything.
Re:The Fuck – An app which corrects your previous console co... by savanaly on Monday April 17, 2017 @05:24PM (#14134541)
I dunno, I don't think that would really happen. I'm always trying to type the same word (I don't say "pish" in my head, after all, I think "push"), so it doesn't seem to be a random walk away from correctness, just some wavering around it. And it's not like I have that many commands I need to type commonly enough to make an alias for-- maybe a couple dozen? And for most of them, I don't make typos so I don't feel the need to make an alias.