From d2dc3bc91cbd3f6a9c48d15bde40860e48a0d3aa Mon Sep 17 00:00:00 2001 From: steveokard Date: Thu, 23 Jan 2020 22:18:26 -0500 Subject: [PATCH] will be easier to just ask --- emacs_doom.zsh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/emacs_doom.zsh b/emacs_doom.zsh index 41cf630..8f75a78 100755 --- a/emacs_doom.zsh +++ b/emacs_doom.zsh @@ -1,19 +1,17 @@ #!/bin/zsh #This will install Doom for Emacs -#which version of ubuntu are we on? -if [ `lsb_release -rs` -lt 19 ] #needs to be an int vs int - echo "Forget it! You'll have to install an updated version of emacs" - exit 1 -fi +#sudo add-apt-repository ppa:kelleyk/emacs #cleanup old spacemacs if [ -e ~/.emacs.d/spacemacs.mk ] - mv ~/.emacs.d ~/spacemacs.d + then + mv ~/.emacs.d ~/spacemacs.d fi git clone https://github.com/hlissner/doom-emacs ~/.emacs.d #Test for ripgrep if [ -e /usr/bin/rg ] +then ~/.emacs.d/bin/doom install else echo "Ripgrep not detected, attempting to install!"