Small improvements
authorMikael Berthe <mikael@lilotux.net>
Sat, 04 Aug 2012 11:47:56 +0200
changeset 25 709f9a3b120e
parent 24 a26580f0890a
child 26 73ef97dce631
Small improvements
zshenv
zshrc.d/30-functions-hg.zrc
--- a/zshenv	Fri Jul 20 22:51:57 2012 +0200
+++ b/zshenv	Sat Aug 04 11:47:56 2012 +0200
@@ -33,7 +33,7 @@
 export MANPAGER=less
 
 watch=(notme)
-WATCHFMT='%n %a %l from %m at %T on %D.'
+WATCHFMT='%n %a %l %(m:from %m:) at %T on %D.'
 
 REPORTTIME=60
 
--- a/zshrc.d/30-functions-hg.zrc	Fri Jul 20 22:51:57 2012 +0200
+++ b/zshrc.d/30-functions-hg.zrc	Sat Aug 04 11:47:56 2012 +0200
@@ -14,7 +14,7 @@
     local j_h=$(hg id -r tip --id)
 
     if (( $i != $j ));then
-        hg log --quiet --style=changelog -r "not ancestors($i)"
+        hg log --quiet --style=changelog -r "$i:$j and not $i"
         print "\nPulled from ${i_h} to ${j_h}."
     fi
 }