mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Merge branch 'add-tig-plugin'
This commit is contained in:
commit
051a2ee2b8
2 changed files with 19 additions and 0 deletions
16
plugins/tig/README.md
Normal file
16
plugins/tig/README.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# `tig` plugin
|
||||||
|
|
||||||
|
This plugin adds some aliases for people who work with `tig` in
|
||||||
|
a regular basis. To use it, add `tig` to your plugins array:
|
||||||
|
|
||||||
|
```zsh
|
||||||
|
plugins=(... tig)
|
||||||
|
```
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
| Alias | Command | Description |
|
||||||
|
|-------|----------------|-------------------------------------------------|
|
||||||
|
| `tis` | `tig status` | Show git status |
|
||||||
|
| `til` | `tig log` | Show git log |
|
||||||
|
| `tib` | `tig blame -C` | `git-blame` a file detecting copies and renames |
|
3
plugins/tig/tig.plugin.zsh
Normal file
3
plugins/tig/tig.plugin.zsh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
alias tis='tig status'
|
||||||
|
alias til='tig log'
|
||||||
|
alias tib='tig blame -C'
|
Loading…
Reference in a new issue