comparison .bashrc @ 555:f98fe4362c84

finish
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 19 Nov 2013 14:12:38 -0800
parents 6b2c56da7c9d
children d15ee034bdf1
comparison
equal deleted inserted replaced
554:8ef38b16dcb9 555:f98fe4362c84
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 32 export JS_EDITLINE=1
33
34 # mozilla env vairables
35 export MOZCONFIG=~/mozilla/mozconfigs/mozconfig
36 export MOZSOURCE=~/mozilla/src/mozilla-central
37 export MOZOBJ=~/mozilla/src/obj-browser
38 unsetmozenv() {
39 unset MOZCONFIG
40 unset MOZSOURCE
41 unset MOZOBJ
42 env | sort
43 }
44 33
45 # aliases 34 # aliases
46 alias awd="python -c 'import os; print os.path.realpath(\".\")'" 35 alias awd="python -c 'import os; print os.path.realpath(\".\")'"
47 alias currentpatch='echo `hg root`/.hg/patches/`hg qapp -v | tail -n 1 | cut -f 3 -d " "`' 36 alias currentpatch='echo `hg root`/.hg/patches/`hg qapp -v | tail -n 1 | cut -f 3 -d " "`'
48 alias datestamp='date +%Y%m%d%H%M%S' 37 alias datestamp='date +%Y%m%d%H%M%S'
584 } 573 }
585 574
586 ### include overrides for commands 575 ### include overrides for commands
587 source ~/.bash_overrides 576 source ~/.bash_overrides
588 577
578 ### include mozilla customizations
579 if [ -e ~/.bash_mozilla ]
580 then
581 source ~/.bash_mozilla
582 fi
583
589 ### regenerate fluxbox menus here for convenience 584 ### regenerate fluxbox menus here for convenience
590 if type deactivate &> /dev/null 585 if type deactivate &> /dev/null
591 then 586 then
592 deactivate 587 deactivate
593 fi 588 fi