more testing cases
This commit is contained in:
parent
4363faa582
commit
4698fb8ac6
2 changed files with 14 additions and 6 deletions
|
@ -1,17 +1,23 @@
|
||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
#This will install Doom for Emacs
|
#This will install Doom for Emacs
|
||||||
|
#which version of ubuntu are we on?
|
||||||
if [ -e ~/.emacs.d/spacemacs.mk ]
|
if [ `lsb_release -rs` -lt 19 ] #needs to be an int vs int
|
||||||
#cleanup old spacemacs
|
echo "Forget it! You'll have to install an updated version of emacs"
|
||||||
mv ~/.emacs.d ~/spacemacs.d
|
exit 1
|
||||||
else
|
|
||||||
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
|
|
||||||
fi
|
fi
|
||||||
|
#cleanup old spacemacs
|
||||||
|
if [ -e ~/.emacs.d/spacemacs.mk ]
|
||||||
|
mv ~/.emacs.d ~/spacemacs.d
|
||||||
|
fi
|
||||||
|
|
||||||
|
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 ]
|
||||||
~/.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!"
|
||||||
sudo apt install ripgrep
|
sudo apt install ripgrep
|
||||||
|
echo "if successful, install emacs doom via script ~/.emacs.d/bin/doom install"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
2
init.sh
2
init.sh
|
@ -19,7 +19,9 @@ mkdir ~/.ssh
|
||||||
echo "Stowing Configs"
|
echo "Stowing Configs"
|
||||||
stow tmux
|
stow tmux
|
||||||
stow vim
|
stow vim
|
||||||
|
#Defer until prezto.zsh completes?
|
||||||
stow prezto
|
stow prezto
|
||||||
|
#
|
||||||
stow config
|
stow config
|
||||||
chmod 0700 ~/.ssh
|
chmod 0700 ~/.ssh
|
||||||
chmod -R 0600 ~/.ssh/*
|
chmod -R 0600 ~/.ssh/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue