Skip to content

Commit

Permalink
Check out my own copy of midje mode into .emacs.d
Browse files Browse the repository at this point in the history
  • Loading branch information
christopheryoung committed Apr 27, 2012
1 parent 30e688c commit 8bdc94b
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion emacs_setup.sh
Expand Up @@ -22,15 +22,37 @@ cd $SETUP_SCRIPT_DIR_PATH
if [ -d $EMACSD ]; then
echo "Backing up old .emacs.d"
cp -rf $EMACSD $BACKUP_DIR
else
else
echo "No ~/.emacs.d found to back up"
mkdir $EMACSD
fi

cd $EMACSD

if [ -f extra-loadpaths.el ]; then
echo "deleting old extra_loadpaths.el"
rm extra-loadpaths.el
fi

echo "creating new extra_loadpaths.el"
touch extra-loadpaths.el

########################################
#Copy and checkout
########################################

# midje-mode

if [ -d $EMACSD/midje-mode ]; then
echo "midje-mode already present."
else
echo "Cloning midje-mode"
git clone git@github.com:christopheryoung/midje-mode.git
fi

echo "(add-to-list 'load-path \"$EMACSD/midje-mode/\")" >> extra-loadpaths.el


# copy the vendor dir for any emacs packages which aren't
# available on elpa or marmalade or via el-get

Expand Down

0 comments on commit 8bdc94b

Please sign in to comment.