will be easier to just ask

This commit is contained in:
Stefen Auris 2020-01-23 22:18:26 -05:00
parent 4698fb8ac6
commit d2dc3bc91c

View file

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