I was using the system version of git and then updated to the latest version using homebrew. After doing so, all the git shortcuts provided by the oh-my-zsh git plugin stopped working. I tried reinstalling oh-my-zsh but don't really know what else to do.
The only other thing I've changed is that I recently installed hub but I have not aliased it yet.
From the comments, the oh-my-zsh
plugin containing the git
aliases isn't being sourced.
To do fix this, you can either:
source ~/.oh-my-zsh/plugins/git/git.plugin.zsh
to your ~/.zshrc
, git
to the plugins=(...)
line in ~/.zshrc
: plugins=(git osx ruby)
. Note: my understanding is that, if you have two lines with plugins=()
, the second will overwrite the first - I think (untested) that plugins=($plugins git)
allows for enabling of plugins over multiple lines. If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With