summaryrefslogtreecommitdiffstats
path: root/zsh/oh-my-zsh/plugins/tig
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2022-10-03 21:42:20 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2022-10-03 21:42:20 +0530
commitaf120ab348f2e1a5a39dec035ed9dcf84189a64e (patch)
tree2a3aadd7ce1b7b771dfe3fe7c983569726c8d7ed /zsh/oh-my-zsh/plugins/tig
downloaddotfiles-af120ab348f2e1a5a39dec035ed9dcf84189a64e.tar.gz
dotfiles-af120ab348f2e1a5a39dec035ed9dcf84189a64e.tar.bz2
dotfiles-af120ab348f2e1a5a39dec035ed9dcf84189a64e.zip
dotfiles
Diffstat (limited to 'zsh/oh-my-zsh/plugins/tig')
-rw-r--r--zsh/oh-my-zsh/plugins/tig/README.md16
-rw-r--r--zsh/oh-my-zsh/plugins/tig/tig.plugin.zsh3
2 files changed, 19 insertions, 0 deletions
diff --git a/zsh/oh-my-zsh/plugins/tig/README.md b/zsh/oh-my-zsh/plugins/tig/README.md
new file mode 100644
index 0000000..3323fd0
--- /dev/null
+++ b/zsh/oh-my-zsh/plugins/tig/README.md
@@ -0,0 +1,16 @@
+# `tig` plugin
+
+This plugin adds some aliases for people who work with [`tig`](https://jonas.github.io/tig/) (text-mode interface for Git) 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 |
diff --git a/zsh/oh-my-zsh/plugins/tig/tig.plugin.zsh b/zsh/oh-my-zsh/plugins/tig/tig.plugin.zsh
new file mode 100644
index 0000000..7e0c530
--- /dev/null
+++ b/zsh/oh-my-zsh/plugins/tig/tig.plugin.zsh
@@ -0,0 +1,3 @@
+alias tis='tig status'
+alias til='tig log'
+alias tib='tig blame -C'