mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-28 19:19:21 +00:00
17 lines
366 B
Text
17 lines
366 B
Text
|
#!/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
|