improved doom installation
This commit is contained in:
+1
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user