2

I am running in some weird issues on my mac Git setup. I seem to have shortcuts defined for GC, GD etc:

➜  ~  where gc
gc: aliased to git commit -v

I am using oh-my-zsh, and I have looked in my .zshrc, and my .gitconfig for alias definitions. However, these GC, GD aliases are nowhere to be found.

any clues?

kostix
  • 51,517
  • 14
  • 93
  • 176
user3133317
  • 83
  • 2
  • 8
  • I am not familiar with it, but it seems like these are shipped out-of-the-box with oh-my-zsh. https://github.com/robbyrussell/oh-my-zsh/wiki/Cheatsheet via a plugin. You might be able to remove the plugin by looking in ~/.oh-my-zsh/plugins/. – vcsjones Jan 15 '14 at 22:27
  • don't know about osx, but what is the output of `git config -l`? also, if nothing in local .gitconfig, check /etc/gitconfig – Fredrik Pihl Jan 15 '14 at 22:28

1 Answers1

2

They are defined inside oh-my-zsh in the git plugin: https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh

Simon Boudrias
  • 42,953
  • 16
  • 99
  • 134