refactored init script and layout of directories
This commit is contained in:
parent
8f9fe993f5
commit
0deb673719
19 changed files with 406 additions and 419 deletions
|
@ -1,15 +1,9 @@
|
|||
#!/bin/zsh
|
||||
#This will install Spacemacs (again)
|
||||
#cleanup
|
||||
if [ -d "$HOME/.emacs.d" ]; then
|
||||
echo "Moved Doom Config"
|
||||
mv ~/.emacs.d ~/doom.d
|
||||
fi
|
||||
|
||||
#Select Stable or Develop
|
||||
if read -q "REPLY?Should we use the development version of emacs? \n"; then
|
||||
git clone -b develop https://github.com/syl20bnr/spacemacs ~/.emacs.d
|
||||
else
|
||||
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
|
||||
fi
|
||||
#!/bin/bash
|
||||
#This will install Spacemacs
|
||||
#backup existing files
|
||||
echo "backing up existing emacs config"
|
||||
[ -d $HOME/.emacs.d ] && mv $HOME/.emacs.d $HOME/.emacs.d.bak
|
||||
[ -f $HOME/.emacs.el ] && mv $HOME/.emacs.el .emacs.el.bak
|
||||
[ -f $HOME/.emacs ] && mv $HOME/.emacs $HOME/.emacs.bak
|
||||
|
||||
git clone https://github.com/syl20bnr/spacemacs $HOME/.emacs.d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue