Source

dotfiles / setup_pymacs.sh

#! /usr/bin/env bash

set -e -u -x

EMACS_D=$PWD/emacs.d
PYMACS_D=$PWD/pkg/Pymacs
PYMACS_EL=$PWD/pkg/Pymacs/pymacs.el

mkdir -p pkg

if [ ! -d $PYMACS_D ]; then
    git clone git@github.com:steder/Pymacs.git $PYMACS_D
else
    echo "Already checked out Pymacs..."
fi

pushd $PYMACS_D
make
make install
popd
ln -sf $PYMACS_EL $EMACS_D