minor edits

This commit is contained in:
Stefen Auris 2021-06-06 22:41:20 -04:00
parent b95248b844
commit f7e6748cfe
2 changed files with 5 additions and 6 deletions

9
spacemacs.zsh Normal file → Executable file
View file

@ -1,14 +1,13 @@
#!/bin/zsh #!/bin/zsh
#This will install Spacemacs (again) #This will install Spacemacs (again)
#cleanup #cleanup
echo "Removing old emacs" if [ -d "$HOME/.emacs.d" ]; then
if [ -e ~/.emacs.d/] echo "Moved Doom Config"
then mv ~/.emacs.d ~/doom.d
mv ~/.emacs.d ~/doom.d
fi fi
#Select Stable or Develop #Select Stable or Develop
read -p "Should we use the development version of emacs?" dist read -n1 -p $"Should we use the development version of emacs? \n" dist
if [[ $dist = y ]] then if [[ $dist = y ]] then
git clone -b develop https://github.com/syl20bnr/spacemacs ~/.emacs.d git clone -b develop https://github.com/syl20bnr/spacemacs ~/.emacs.d
else else

View file

@ -26,7 +26,7 @@ read -n1 -p $'Does this system need a ssh server?\n' REPLY
fi fi
read -n1 -p $'\nDoes this system have a GUI?\n' REPLY read -n1 -p $'\nDoes this system have a GUI?\n' REPLY
if [[ $REPLY == [Yy] ]]; then if [[ $REPLY == [Yy] ]]; then
sudo apt-get install synaptic sudo apt-get install synaptic emacs
else else
sudo apt-get install emacs-nox sudo apt-get install emacs-nox
fi fi