Mercurial > hg > config
changeset 555:f98fe4362c84
finish
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 19 Nov 2013 14:12:38 -0800 |
parents | 8ef38b16dcb9 |
children | 8741c4241a4c |
files | .bash_mozilla .bashrc |
diffstat | 2 files changed, 16 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/.bash_mozilla Tue Nov 19 14:04:49 2013 -0800 +++ b/.bash_mozilla Tue Nov 19 14:12:38 2013 -0800 @@ -2,6 +2,16 @@ # mozilla-specific bash customizations +# mozilla env vairables +export MOZCONFIG=~/mozilla/mozconfigs/mozconfig +export MOZSOURCE=~/mozilla/src/mozilla-central +export MOZOBJ=~/mozilla/src/obj-browser +unsetmozenv() { +unset MOZCONFIG +unset MOZSOURCE +unset MOZOBJ +env | sort +} MOZCONFIGS=${HOME}/mozilla/mozconfigs MOZSRC=${HOME}/mozilla/src
--- a/.bashrc Tue Nov 19 14:04:49 2013 -0800 +++ b/.bashrc Tue Nov 19 14:12:38 2013 -0800 @@ -31,17 +31,6 @@ export JS_EDITLINE=1 export JS_EDITLINE=1 -# mozilla env vairables -export MOZCONFIG=~/mozilla/mozconfigs/mozconfig -export MOZSOURCE=~/mozilla/src/mozilla-central -export MOZOBJ=~/mozilla/src/obj-browser -unsetmozenv() { -unset MOZCONFIG -unset MOZSOURCE -unset MOZOBJ -env | sort -} - # aliases alias awd="python -c 'import os; print os.path.realpath(\".\")'" alias currentpatch='echo `hg root`/.hg/patches/`hg qapp -v | tail -n 1 | cut -f 3 -d " "`' @@ -586,6 +575,12 @@ ### include overrides for commands source ~/.bash_overrides +### include mozilla customizations +if [ -e ~/.bash_mozilla ] +then + source ~/.bash_mozilla +fi + ### regenerate fluxbox menus here for convenience if type deactivate &> /dev/null then