changeset 514:1303f1f90a90

.bashrc
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 18 Sep 2013 03:41:40 -0700
parents c30cd6473984
children 9ddab670f8c4
files .bashrc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.bashrc	Tue Sep 17 19:24:26 2013 -0700
+++ b/.bashrc	Wed Sep 18 03:41:40 2013 -0700
@@ -43,7 +43,7 @@
 
 # aliases
 alias awd="python -c 'import os;  print os.path.realpath(\".\")'"
-alias currentpatch='echo `hg root`/.hg/patches/`hg qapp -v | head -n 1 | cut -f 3 -d " "`'
+alias currentpatch='echo `hg root`/.hg/patches/`hg qapp -v | tail -n 1 | cut -f 3 -d " "`'
 alias datestamp='date +%Y%m%d%H%M%S'
 alias distribute='python setup.py egg_info -RDb "" sdist register upload'
 alias grep='grep --colour=auto'