diff options
Diffstat (limited to 'macros.bashrc')
-rw-r--r-- | macros.bashrc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/macros.bashrc b/macros.bashrc new file mode 100644 index 0000000..7e265c6 --- /dev/null +++ b/macros.bashrc @@ -0,0 +1,27 @@ +#!/bin/bash + +mkdirp() +{ + test -d $1 || mkdir -p $1 +} + +go() +{ + "$0" "$@" +} + +mcd() +{ + test -d $1 || mkdir -p $1 + cd $1 +} + +notparallel() +{ + echo .NOTPARALLEL: >> Makefile +} + +if [ -f $MYDIR/local.conf ] +then + . $MYDIR/local.conf +fi |