changeset 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 aa31dc7ccb66
children eae5a3494fa9
files .bashrc
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
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'