Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 574 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 574 Bytes

git-aliases

Plugin for Oh My Zsh to alias git aliases to g*.

For example, if git pl is aliased to git pull, it will also be aliased as gpl in the shell.

This will also alias g to git.

Installation

First, clone the repo:

git clone https://github.com/remino/omz-plugin-git-aliases.git "$ZSH_CUSTOM/plugins/git-aliases"

Second, add git-aliases to your Oh My Zsh plugins:

plugins+=(git-aliases)

Last, restart your shell.

You can list your git aliases using the following:

alias | grep -E '^g' | grep -E "='git "