comparison .bashrc @ 240:a5a27ec28ea7

add an alias for mozbase bugs
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 30 Aug 2012 16:10:29 -0700
parents b33d0c78132c
children bed50e028005
comparison
equal deleted inserted replaced
239:ee77391f0a0c 240:a5a27ec28ea7
33 alias distribute='python setup.py egg_info -RDb "" sdist register upload' 33 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)'" 34 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" 35 alias xpcshell="LD_LIBRARY_PATH=${MOZOBJ}/dist/bin ${MOZOBJ}/dist/bin/xpcshell"
36 alias mozharness-bug="bz new 'Release Engineering: Automation (General)' --cc ':aki' --whiteboard 'mozharness'" 36 alias mozharness-bug="bz new 'Release Engineering: Automation (General)' --cc ':aki' --whiteboard 'mozharness'"
37 alias talos-bug="bz new Talos --cc ':jmaher' --cc ':BYK'" 37 alias talos-bug="bz new Talos --cc ':jmaher' --cc ':BYK'"
38 alias mozbase-bug="bz new Mozbase --cc ':wlach'"
38 39
39 # PROMPT 40 # PROMPT
40 PS1='│' 41 PS1='│'
41 PS2='.' 42 PS2='.'
42 PROMPT_COMMAND='echo -ne "\033]0;${SSH_CLIENT/*/$HOSTNAME:}${PWD/~/~}\007"' 43 PROMPT_COMMAND='echo -ne "\033]0;${SSH_CLIENT/*/$HOSTNAME:}${PWD/~/~}\007"'
290 hg qcommit 291 hg qcommit
291 else 292 else
292 hg qcommit -m "${message}" 293 hg qcommit -m "${message}"
293 fi 294 fi
294 hgroot=$(hg root) 295 hgroot=$(hg root)
295 patches=${hgroot}/.hg/patches/ 296 patches=${hgroot}/.hg/patches/
296 if [ -e ${patches}.hg ] 297 if [ -e ${patches}.hg ]
297 then 298 then
298 cd ${patches} 299 cd ${patches}
299 hg push 300 hg push
300 fi 301 fi