Re:Heroku Fucking Console
by pygy_ on Friday March 01, 2013 @11:43AM
(#5305272)
You'd get the best of both worlds.
[ Parent
| on HN ]
I want git to do that so badly. It's not like its output is particularly pipe-friendly anyway. Just ask me, don't make me type the whole thing again. Especially annoying when it's a longer command with a bunch of arguments or one that in no way could have negative side-effects, like git status or git log
Thank you so much.
Why are you typing the whole thing again instead of using the up arrow or Ctrl-P?
zsh can do that:
> ce somedir
zsh: correct 'ce' to 'cd' [nyae]? yUgh, this is my second least favorite "feature" of zsh. (First is "are you sure you want to delete all of the files in this directory?")
I find it quite handy and it can quite trivially be disabled if you don't like it. Not sure what's not to like.
It's on by default, so you have to disable it every time you set up zsh on a new machine. Yes, it's not a big deal. I just find it annoying.
Use an alias! I like
git config --global alias.s 'status --short --branch'