#!/usr/bin/env bash # ---------------------------------------------------------------------- # INITIALIZE the HAMACS SYSTEM # ---------------------------------------------------------------------- HAMACS_DIR=$(cd "$(dirname "$0")"; pwd) HAMACS_DEST=$HOME/.emacs.d mkdir -p $HAMACS_DEST for LINK in snippets templates elisp do rm -rf $HAMACS_DEST/$LINK ln -s --force $HAMACS_DIR/$LINK $HAMACS_DEST done cat > $HAMACS_DEST/init.el <