changeset 314:11a349035020

add weekstamp
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 30 May 2013 16:48:20 -0700
parents d6587ced0f07
children f8ef5a974df8
files .bashrc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.bashrc	Fri May 24 12:39:45 2013 -0700
+++ b/.bashrc	Thu May 30 16:48:20 2013 -0700
@@ -32,6 +32,7 @@
 alias grep='grep --colour=auto'
 alias ls='ls --color=auto'
 alias random="python -c 'import sys, random; foo = sys.argv[1:]; random.shuffle(foo); print \" \".join(foo)'"
+alias weekstamp="date --date=\"$((`date '+%u'`-1)) days ago\" '+%b %d'"
 alias wget='wget --no-check-certificate'
 alias xpcshell="LD_LIBRARY_PATH=${MOZOBJ}/dist/bin ${MOZOBJ}/dist/bin/xpcshell"