mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 11:06:17 +00:00
19 lines
360 B
Bash
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
|