diff .bashrc @ 246:d9b8d176c449

add a thing to get the full path to current patch and start organizing aliases
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 30 Nov 2012 10:20:42 -0800
parents bed50e028005
children 6f3d12f17847
line wrap: on
line diff
--- a/.bashrc	Tue Nov 27 18:10:47 2012 -0800
+++ b/.bashrc	Fri Nov 30 10:20:42 2012 -0800
@@ -24,10 +24,11 @@
 export JS_EDITLINE=1
 
 # aliases
-alias ls='ls --color=auto'
+alias currentpatch='echo `hg root`/.hg/patches/`hg qapp -v | head -n 1 | cut -f 3 -d " "`'
+alias datestamp='date +%Y%m%d%H%M%S'
 alias grep='grep --colour=auto'
+alias ls='ls --color=auto'
 alias wget='wget --no-check-certificate'
-alias datestamp='date +%Y%m%d%H%M%S'
 alias svnst='svn st | grep -v "^\?"'
 alias awd="python -c 'import os;  print os.path.realpath(\".\")'"
 alias distribute='python setup.py egg_info -RDb "" sdist register upload'