comparison .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
comparison
equal deleted inserted replaced
245:aa31dc7ccb66 246:d9b8d176c449
22 export MOZSOURCE=~/mozilla/src/mozilla-central 22 export MOZSOURCE=~/mozilla/src/mozilla-central
23 export MOZOBJ=~/mozilla/src/obj-browser 23 export MOZOBJ=~/mozilla/src/obj-browser
24 export JS_EDITLINE=1 24 export JS_EDITLINE=1
25 25
26 # aliases 26 # aliases
27 alias currentpatch='echo `hg root`/.hg/patches/`hg qapp -v | head -n 1 | cut -f 3 -d " "`'
28 alias datestamp='date +%Y%m%d%H%M%S'
29 alias grep='grep --colour=auto'
27 alias ls='ls --color=auto' 30 alias ls='ls --color=auto'
28 alias grep='grep --colour=auto'
29 alias wget='wget --no-check-certificate' 31 alias wget='wget --no-check-certificate'
30 alias datestamp='date +%Y%m%d%H%M%S'
31 alias svnst='svn st | grep -v "^\?"' 32 alias svnst='svn st | grep -v "^\?"'
32 alias awd="python -c 'import os; print os.path.realpath(\".\")'" 33 alias awd="python -c 'import os; print os.path.realpath(\".\")'"
33 alias distribute='python setup.py egg_info -RDb "" sdist register upload' 34 alias distribute='python setup.py egg_info -RDb "" sdist register upload'
34 alias random="python -c 'import sys, random; foo = sys.argv[1:]; random.shuffle(foo); print \" \".join(foo)'" 35 alias random="python -c 'import sys, random; foo = sys.argv[1:]; random.shuffle(foo); print \" \".join(foo)'"
35 alias xpcshell="LD_LIBRARY_PATH=${MOZOBJ}/dist/bin ${MOZOBJ}/dist/bin/xpcshell" 36 alias xpcshell="LD_LIBRARY_PATH=${MOZOBJ}/dist/bin ${MOZOBJ}/dist/bin/xpcshell"