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
|
#!/bin/zsh
|
||||||
#This will install Doom for Emacs
|
#This will install Doom for Emacs
|
||||||
#which version of ubuntu are we on?
|
#sudo add-apt-repository ppa:kelleyk/emacs
|
||||||
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
|
|
||||||
#cleanup old spacemacs
|
#cleanup old spacemacs
|
||||||
if [ -e ~/.emacs.d/spacemacs.mk ]
|
if [ -e ~/.emacs.d/spacemacs.mk ]
|
||||||
mv ~/.emacs.d ~/spacemacs.d
|
then
|
||||||
|
mv ~/.emacs.d ~/spacemacs.d
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
|
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
|
||||||
|
|
||||||
#Test for ripgrep
|
#Test for ripgrep
|
||||||
if [ -e /usr/bin/rg ]
|
if [ -e /usr/bin/rg ]
|
||||||
|
then
|
||||||
~/.emacs.d/bin/doom install
|
~/.emacs.d/bin/doom install
|
||||||
else
|
else
|
||||||
echo "Ripgrep not detected, attempting to install!"
|
echo "Ripgrep not detected, attempting to install!"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue