diff .bashrc @ 514:1303f1f90a90

.bashrc
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 18 Sep 2013 03:41:40 -0700
parents 44f9b67bb56f
children b2ca27f83d5f
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'