comparison .bashrc @ 431:72f33eb3aa23

add an attach.py script
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 08 Aug 2013 00:24:41 -0700
parents 868f0ea41e92
children f71f6ffa731a
comparison
equal deleted inserted replaced
430:92ee74af9456 431:72f33eb3aa23
39 alias currentpatch='echo `hg root`/.hg/patches/`hg qapp -v | head -n 1 | cut -f 3 -d " "`' 39 alias currentpatch='echo `hg root`/.hg/patches/`hg qapp -v | head -n 1 | cut -f 3 -d " "`'
40 alias datestamp='date +%Y%m%d%H%M%S' 40 alias datestamp='date +%Y%m%d%H%M%S'
41 alias distribute='python setup.py egg_info -RDb "" sdist register upload' 41 alias distribute='python setup.py egg_info -RDb "" sdist register upload'
42 alias grep='grep --colour=auto' 42 alias grep='grep --colour=auto'
43 alias ls='ls --color=auto' 43 alias ls='ls --color=auto'
44 alias maze='python <(curl https://raw.github.com/joewing/maze/master/maze.py)' 44 alias maze='python <(curl https://raw.github.com/joewing/maze/master/maze.py 2> /dev/null)'
45 alias patch='patch --reject-file=-' 45 alias patch='patch --reject-file=-'
46 alias random="python -c 'import sys, random; foo = sys.argv[1:]; random.shuffle(foo); print \" \".join(foo)'" 46 alias random="python -c 'import sys, random; foo = sys.argv[1:]; random.shuffle(foo); print \" \".join(foo)'"
47 alias straceff="attach.py firefox --kill"
47 alias weekstamp="date --date=\"$((`date '+%u'`-1)) days ago\" '+%b %d'" 48 alias weekstamp="date --date=\"$((`date '+%u'`-1)) days ago\" '+%b %d'"
48 alias wget='wget --no-check-certificate' 49 alias wget='wget --no-check-certificate'
49 alias xpcshell="LD_LIBRARY_PATH=${MOZOBJ}/dist/bin ${MOZOBJ}/dist/bin/xpcshell" 50 alias xpcshell="LD_LIBRARY_PATH=${MOZOBJ}/dist/bin ${MOZOBJ}/dist/bin/xpcshell"
50 51
51 # bzconsole aliases for filing bugs 52 # bzconsole aliases for filing bugs