663470382022
Fix tmd.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Sun, 07 Feb 2010 13:48:26 -0500 |
parents | f337a0ab53ef |
children | 45b99085b58f |
branches/tags | (none) |
files | .hgrc zsh/mercurial.zsh |
Changes
--- a/.hgrc Sun Feb 07 13:45:05 2010 -0500 +++ b/.hgrc Sun Feb 07 13:48:26 2010 -0500 @@ -80,7 +80,6 @@ [alias] nudge = push --rev . -tmd = diff --no-color -U 10 st = status -C ? = summary
--- a/zsh/mercurial.zsh Sun Feb 07 13:45:05 2010 -0500 +++ b/zsh/mercurial.zsh Sun Feb 07 13:48:26 2010 -0500 @@ -1,7 +1,9 @@ #!/usr/bin/env zsh alias mq='hg -R $(hg root)/.hg/patches' -alias tmd="hg tmd -X '**fixtures**' | mate" +function tmd () { + hg diff --no-color | mate +} function tms () { hg show $1 | sed -E -e "s/\[([0-9]{1,3}((;[0-9]{1,3})*)?)?[m|K]//g" | mate }