Skip to content

Instantly share code, notes, and snippets.

View denisinla's full-sized avatar
👋

denisinla

👋
View GitHub Profile
@denisinla
denisinla / git-lg.markdown
Created December 16, 2012 23:08
Disabling zsh's autocorrect for 'git lg' command.

You can add a line to your .zshrc to ignore auto-correct for all git commands:

alias git='nocorrect git'

The other option is to re-create your aliases from .gitconfig in .zshrc like so:

alias 'glg'='git lg'