5 ms·
$ git statis error. Did you mean status? Y/n You'd get the best of both worlds.
by pygy_ 14y ago
$ git statis
error. Did you mean status? Y/n
You'd get the best of both worlds.
- bluetech 14y agoUse an alias! I like git config --global alias.s 'status --short --branch'
- aerolite 14y agoOk, but please don't alias statis to status. That's a horrendous typo.
- cowpewter 14y agoI 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
- nitrogen 14y agoWhy are you typing the whole thing again instead of using the up arrow or Ctrl-P?
- cpr 14y agohttp://stackoverflow.com/questions/5167367/how-can-i-make-git-do-the-did-you-mean-suggestion http://stackoverflow.com/questions/5167367/how-can-i-make-gi...
- cowpewter 14y agoThank you so much.
- masklinn 14y agozsh can do that: > ce somedir zsh: correct 'ce' to 'cd' [nyae]? y
- loeg 14y agoUgh, 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?")