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!"