created update script
This commit is contained in:
parent
751f36e537
commit
f1058f5fcc
3 changed files with 21 additions and 18 deletions
|
@ -1,15 +0,0 @@
|
||||||
#!/bin/zsh
|
|
||||||
#This will install Doom for Emacs
|
|
||||||
#sudo add-apt-repository ppa:kelleyk/emacs
|
|
||||||
#cleanup old spacemacs
|
|
||||||
if [ -e ~/.emacs.d/spacemacs.mk ]
|
|
||||||
then
|
|
||||||
mv ~/.emacs.d ~/spacemacs.d
|
|
||||||
fi
|
|
||||||
|
|
||||||
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
|
|
||||||
|
|
||||||
#Install Dependencies
|
|
||||||
sudo apt install ripgrep markdown shellcheck fd-find
|
|
||||||
|
|
||||||
~/.emacs.d/bin/doom install
|
|
17
spacemacs.zsh
Normal file
17
spacemacs.zsh
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/zsh
|
||||||
|
#This will install Spacemacs (again)
|
||||||
|
#cleanup
|
||||||
|
echo "Removing old emacs"
|
||||||
|
if [ -e ~/.emacs.d/]
|
||||||
|
then
|
||||||
|
mv ~/.emacs.d ~/doom.d
|
||||||
|
fi
|
||||||
|
|
||||||
|
#Select Stable or Develop
|
||||||
|
read -p "Should we use the development version of emacs?" dist
|
||||||
|
if [[ $dist = y ]] then
|
||||||
|
git clone -b develop https://github.com/syl20bnr/spacemacs ~/.emacs.d
|
||||||
|
else
|
||||||
|
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
|
||||||
|
fi
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
echo "Remove Emacs"
|
#delete current zsh config
|
||||||
sudo apt autoremove emacs emacs-nox ripgrep markdown shellcheck fd-find
|
rm ~/.zshrc ~/.zpreztorc ~/.zlogin ~/.zlogout ~/.zprofile ~/.zshenv
|
||||||
rm -r --interactive=never $HOME/.emacs.d $HOME/.doom.d
|
./udeps.sh
|
||||||
|
./prezto.zsh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue