will be easier to just ask
This commit is contained in:
parent
4698fb8ac6
commit
d2dc3bc91c
1 changed files with 4 additions and 6 deletions
|
@ -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!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue