Browse Source

Adds the hgsl alias for one-line shortlog convenience

Jens Tinfors 11 years ago
parent
commit
96bd365542
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/mercurial/mercurial.plugin.zsh

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

@@ -13,6 +13,7 @@ alias hglr='hg pull --rebase'
 alias hgo='hg outgoing'
 alias hgp='hg push'
 alias hgs='hg status'
+alias hgsl='log --limit 20 --template "{node|short} | {date|isodatesec} | {author|user}: {desc|strip|firstline}\n" '
 # this is the 'git commit --amend' equivalent
 alias hgca='hg qimport -r tip ; hg qrefresh -e ; hg qfinish tip'