浏览代码

Added mercurial plugin with aliases.

ptrv 13 年之前
父节点
当前提交
55eda0c48b
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      plugins/mercurial/mercurial.plugin.zsh

+ 14 - 0
plugins/mercurial/mercurial.plugin.zsh

@@ -0,0 +1,14 @@
+
+# Mercurial
+alias hgc='hg commit -v'
+alias hgb='hg branch -v'
+alias hgba='hg branches'
+alias hgco='hg checkout'
+alias hgd='hg diff'
+alias hged='hg diffmerge'
+# pull and update
+alias hgl='hg pull -u -v'
+alias hgp='hg push -v'
+alias hgs='hg status -v'
+# this is the 'git commit --amend' equivalent
+alias hgca='hg qimport -r tip ; hg qrefresh -e ; hg qfinish tip'