changeset 317:eb9d0776226f

include rmktmp function
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 05 Jun 2013 10:31:54 -0700
parents de770b40bcbe
children cf793eb3811e
files .bashrc
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.bashrc	Tue Jun 04 10:21:06 2013 -0700
+++ b/.bashrc	Wed Jun 05 10:31:54 2013 -0700
@@ -464,6 +464,19 @@
 
 }
 
+rmktmp() {
+
+TMPDIR=~/tmp
+if [ -e ${TMPDIR} ]
+then
+  rm -rf ${TMPDIR}
+fi
+mkdir ${TMPDIR}
+cd ${TMPDIR}
+pwd
+
+}
+
 ### include overrides for commands
 source ~/.bash_overrides