mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-23 03:00:08 +00:00
21 lines
401 B
Bash
21 lines
401 B
Bash
#!/bin/bash
|
|
# Description: GNU Emacs
|
|
set -e
|
|
|
|
_recipe brew
|
|
|
|
case $_PLATFORM in
|
|
darwin)
|
|
_brew_tap railwaycat/emacsmacport
|
|
_brew emacs-mac --with-modern-icon
|
|
;;
|
|
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
|