From edc449275b6c04445f58b108ca0937a87c1e8430 Mon Sep 17 00:00:00 2001 From: Aditya Date: Mon, 27 Feb 2023 20:04:56 +0530 Subject: add zsh --- oh-my-zsh/plugins/mercurial/README.md | 69 +++++++++++++ oh-my-zsh/plugins/mercurial/mercurial.plugin.zsh | 118 +++++++++++++++++++++++ 2 files changed, 187 insertions(+) create mode 100644 oh-my-zsh/plugins/mercurial/README.md create mode 100644 oh-my-zsh/plugins/mercurial/mercurial.plugin.zsh (limited to 'oh-my-zsh/plugins/mercurial') diff --git a/oh-my-zsh/plugins/mercurial/README.md b/oh-my-zsh/plugins/mercurial/README.md new file mode 100644 index 0000000..19d4a17 --- /dev/null +++ b/oh-my-zsh/plugins/mercurial/README.md @@ -0,0 +1,69 @@ +# Mercurial plugin + +This plugin adds some handy aliases for using Mercurial as well as a few +utility and prompt functions that can be used in a theme. + +To use it, add `mercurial` to the plugins array in your zshrc file: + +```zsh +plugins=(... mercurial) +``` + +## Aliases + +| Alias | Command | +| ------- | ------------------------------------------- | +| `hga` | `hg add` | +| `hgc` | `hg commit` | +| `hgca` | `hg commit --amend` | +| `hgci` | `hg commit --interactive` | +| `hgb` | `hg branch` | +| `hgba` | `hg branches` | +| `hgbk` | `hg bookmarks` | +| `hgco` | `hg checkout` | +| `hgd` | `hg diff` | +| `hged` | `hg diffmerge` | +| `hgp` | `hg push` | +| `hgs` | `hg status` | +| `hgsl` | `hg log --limit 20 --template "