Adds a zsh hook to check if the origin of the current branch has changes to local in the background and sends a notification
- Clone this repository somewhere on your machine. This guide will assume ~/.zsh/git-check.
git clone https://github.com/git-girl/git-check ~/.zsh/git-check
- Add the following to your .zshrc:
source ~/.zsh/git-check/git-check.plugin.zsh
- Start a new terminal session.
git clone https://github.com/git-girl/git-check ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/git-check
- Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)
git clone https://github.com/git-girl/git-check ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/git-check
- Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):
plugins=( # other plugins... git-check )
- Start a new terminal session.