dotfiles/recipes/emacs

20 lines
360 B
Text
Raw Normal View History

2018-02-22 04:15:49 +00:00
#!/bin/bash
2018-02-27 05:15:14 +00:00
set -e
2018-02-22 04:15:49 +00:00
_recipe brew
case $_PLATFORM in
darwin)
_brew emacs --with-cocoa --with-librsvg --with-imagemagick@6
;;
linux)
_recipe _apt
_ppa ubuntu-elisp/ppa
_apt emacs25
2018-02-22 04:15:49 +00:00
;;
esac
2018-02-22 16:43:45 +00:00
if ! [ -d ${HOME}/.emacs.d ]; then
_run "Install .emacs.d" ln -s ${HOME}/dotfiles/.emacs.d ${HOME}/.emacs.d
fi