# HG changeset patch # User Jeff Hammel # Date 1354299642 28800 # Node ID d9b8d176c449241e2407f043c342a7cceb2317fd # Parent aa31dc7ccb66ea408846ad0e895cc094ff74fdab add a thing to get the full path to current patch and start organizing aliases diff -r aa31dc7ccb66 -r d9b8d176c449 .bashrc --- 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'