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
|
||||
#This will install Doom for Emacs
|
||||
|
||||
if [ -e ~/.emacs.d/spacemacs.mk ]
|
||||
#cleanup old spacemacs
|
||||
mv ~/.emacs.d ~/spacemacs.d
|
||||
else
|
||||
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
|
||||
#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
|
||||
#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
|
||||
if [ -e /usr/bin/rg ]
|
||||
~/.emacs.d/bin/doom install
|
||||
else
|
||||
echo "Ripgrep not detected, attempting to install!"
|
||||
sudo apt install ripgrep
|
||||
echo "if successful, install emacs doom via script ~/.emacs.d/bin/doom install"
|
||||
fi
|
||||
|
||||
|
|
2
init.sh
2
init.sh
|
@ -19,7 +19,9 @@ mkdir ~/.ssh
|
|||
echo "Stowing Configs"
|
||||
stow tmux
|
||||
stow vim
|
||||
#Defer until prezto.zsh completes?
|
||||
stow prezto
|
||||
#
|
||||
stow config
|
||||
chmod 0700 ~/.ssh
|
||||
chmod -R 0600 ~/.ssh/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue