2019-09-13 01:17:37 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# Description: DOOM Emacs
|
|
|
|
set -e
|
|
|
|
|
|
|
|
_recipe emacs
|
|
|
|
_recipe git
|
|
|
|
_recipe _path
|
|
|
|
|
2020-01-24 19:37:57 +00:00
|
|
|
# Include japanese language support utilties used by configured packages
|
|
|
|
_recipe japanese
|
|
|
|
|
2022-10-03 18:23:43 +00:00
|
|
|
_git "https://github.com/doomemacs/doomemacs" "$HOME/.emacs.d"
|
2019-09-13 01:17:37 +00:00
|
|
|
_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
|
|
|
|
|
2023-02-14 02:13:07 +00:00
|
|
|
# HACK: Install a local copy of ob-ledger
|
|
|
|
# Required until https://github.com/doomemacs/doomemacs/issues/6457 is fixed
|
|
|
|
if ! [ -f ${HOME}/.doom.d/lisp/ob-ledger/ob-ledger.el ]; then
|
|
|
|
mkdir -p ${HOME}/.doom.d/lisp/ob-ledger
|
|
|
|
_run "[curl] Installing local ob-ledger" curl -sLo ${HOME}/.doom.d/lisp/ob-ledger/ob-ledger.el \
|
|
|
|
'https://raw.githubusercontent.com/overtone/emacs-live/master/packs/stable/org-pack/lib/org-mode/lisp/ob-ledger.el'
|
|
|
|
fi
|
|
|
|
|
2021-01-22 00:21:46 +00:00
|
|
|
_run "[emacs-doom] Refreshing" $HOME/.emacs.d/bin/doom sync
|