improved doom installation

This commit is contained in:
paul-loedige
2024-02-11 21:26:48 +01:00
parent 43979738db
commit e4b5f81b3d
+1 -3
View File
@@ -387,9 +387,7 @@ fd
**** Doom Installation **** Doom Installation
~update.sh~ will install Doom Emacs if needed ~update.sh~ will install Doom Emacs if needed
#+begin_src shell :tangle update.sh #+begin_src shell :tangle update.sh
command_name="doom" if [ ! -d "~/.config/doom" ]; then
if ! command -v "$command_name" &> /dev/null; then
echo "Installing Doom Emacs ..." echo "Installing Doom Emacs ..."
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
~/.config/emacs/bin/doom install-devel ~/.config/emacs/bin/doom install-devel