dotfiles/recipes/emacs-doom

17 lines
366 B
Text
Raw Normal View History

2019-09-13 01:17:37 +00:00
#!/bin/bash
# Description: DOOM Emacs
set -e
_recipe emacs
_recipe git
_recipe _path
_git "https://github.com/hlissner/doom-emacs" "$HOME/.emacs.d"
_path "$HOME/.emacs.d/bin"
if ! [ -d ${HOME}/.doom.d ]; then
_run "[emacs-doom] Install .doom.d" ln -s ${HOME}/dotfiles/.doom.d ${HOME}/.doom.d
fi
_run "[emacs-doom] Refreshing" $HOME/.emacs.d/bin/doom refresh