https://github.com/remino/omz-plugin-git-aliases
Plugin for Oh My Zsh to alias git aliases to g*
https://github.com/remino/omz-plugin-git-aliases
git ohmyzsh shell zsh
Last synced: 3 months ago
JSON representation
Plugin for Oh My Zsh to alias git aliases to g*
- Host: GitHub
- URL: https://github.com/remino/omz-plugin-git-aliases
- Owner: remino
- License: mit
- Created: 2022-09-13T09:48:27.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-20T06:37:19.000Z (6 months ago)
- Last Synced: 2025-01-31T12:31:00.524Z (5 months ago)
- Topics: git, ohmyzsh, shell, zsh
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
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:
```sh
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:
```sh
alias | grep -E '^g' | grep -E "='git "
```