dotfiles/recipes/emacs

19 lines
360 B
Bash

#!/bin/bash
set +e
_recipe brew
case $_PLATFORM in
darwin)
_brew emacs --with-cocoa --with-librsvg --with-imagemagick@6
;;
linux)
_recipe _apt
_ppa ubuntu-elisp/ppa
_apt emacs25
;;
esac
if ! [ -d ${HOME}/.emacs.d ]; then
_run "Install .emacs.d" ln -s ${HOME}/dotfiles/.emacs.d ${HOME}/.emacs.d
fi