1
0
Fork 0
mirror of https://github.com/correl/dotfiles.git synced 2024-12-20 03:20:17 +00:00
dotfiles/recipes/emacs-doom

19 lines
457 B
Bash

#!/bin/bash
# Description: DOOM Emacs
set -e
_recipe emacs
_recipe git
_recipe _path
# Include japanese language support utilties used by configured packages
_recipe japanese
_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