comparison .bashrc @ 510:44f9b67bb56f

mozconf
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 03 Sep 2013 19:56:13 -0700
parents fed668f5d44f
children 1303f1f90a90
comparison
equal deleted inserted replaced
509:cb8484ae2643 510:44f9b67bb56f
27 # variables 27 # variables
28 export BROWSER=$(which firefox) 28 export BROWSER=$(which firefox)
29 export CLICOLOR=1 29 export CLICOLOR=1
30 export EDITOR='emacs -nw' 30 export EDITOR='emacs -nw'
31 export JS_EDITLINE=1 31 export JS_EDITLINE=1
32 export JS_EDITLINE=1
33
34 # mozilla env vairables
32 export MOZCONFIG=~/mozilla/mozconfigs/mozconfig 35 export MOZCONFIG=~/mozilla/mozconfigs/mozconfig
33 export MOZSOURCE=~/mozilla/src/mozilla-central 36 export MOZSOURCE=~/mozilla/src/mozilla-central
34 export MOZOBJ=~/mozilla/src/obj-browser 37 export MOZOBJ=~/mozilla/src/obj-browser
35 export JS_EDITLINE=1 38 unsetmozenv() {
39 unset MOZCONFIG
40 unset MOZSOURCE
41 unset MOZOBJ
42 }
36 43
37 # aliases 44 # aliases
38 alias awd="python -c 'import os; print os.path.realpath(\".\")'" 45 alias awd="python -c 'import os; print os.path.realpath(\".\")'"
39 alias currentpatch='echo `hg root`/.hg/patches/`hg qapp -v | head -n 1 | cut -f 3 -d " "`' 46 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' 47 alias datestamp='date +%Y%m%d%H%M%S'