Mercurial > hg > config
comparison .bashrc @ 317:eb9d0776226f
include rmktmp function
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 05 Jun 2013 10:31:54 -0700 |
parents | de770b40bcbe |
children | 0da3813d76d0 |
comparison
equal
deleted
inserted
replaced
316:de770b40bcbe | 317:eb9d0776226f |
---|---|
462 | 462 |
463 sed ${inplace} "${command}" "$1" | 463 sed ${inplace} "${command}" "$1" |
464 | 464 |
465 } | 465 } |
466 | 466 |
467 rmktmp() { | |
468 | |
469 TMPDIR=~/tmp | |
470 if [ -e ${TMPDIR} ] | |
471 then | |
472 rm -rf ${TMPDIR} | |
473 fi | |
474 mkdir ${TMPDIR} | |
475 cd ${TMPDIR} | |
476 pwd | |
477 | |
478 } | |
479 | |
467 ### include overrides for commands | 480 ### include overrides for commands |
468 source ~/.bash_overrides | 481 source ~/.bash_overrides |
469 | 482 |
470 ### regenerate fluxbox menus here for convenience | 483 ### regenerate fluxbox menus here for convenience |
471 MENU=~/web/site/programs.html | 484 MENU=~/web/site/programs.html |