Git Plugin for Oh-My-ZSH broken after Updating Git
From the comments, the oh-my-zsh
plugin containing the git
aliases isn't being sourced.
To do fix this, you can either:
- Directly source the plugin by adding
source ~/.oh-my-zsh/plugins/git/git.plugin.zsh
to your~/.zshrc
, - Enable the plugin the canonical way: by adding
git
to theplugins=(...)
line in~/.zshrc
:plugins=(git osx ruby)
. Note: my understanding is that, if you have two lines withplugins=()
, the second will overwrite the first - I think (untested) thatplugins=($plugins git)
allows for enabling of plugins over multiple lines.
To load zsh plugins default format as specified in .zshrc is plugins=(rails git textmate ruby lighthouse)
. For some reason it was written in this format plugins=(git, lighthouse)
separated by comma.
Separating just by space and source the .zshrc after saving fixed the issue.