diff --git a/spacemacs.zsh b/spacemacs.zsh old mode 100644 new mode 100755 index 77b72b3..9237c73 --- a/spacemacs.zsh +++ b/spacemacs.zsh @@ -1,14 +1,13 @@ #!/bin/zsh #This will install Spacemacs (again) #cleanup -echo "Removing old emacs" -if [ -e ~/.emacs.d/] - then - mv ~/.emacs.d ~/doom.d +if [ -d "$HOME/.emacs.d" ]; then + echo "Moved Doom Config" + mv ~/.emacs.d ~/doom.d fi #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 git clone -b develop https://github.com/syl20bnr/spacemacs ~/.emacs.d else diff --git a/udeps.sh b/udeps.sh index 4e1ff10..8389ba2 100755 --- a/udeps.sh +++ b/udeps.sh @@ -26,7 +26,7 @@ read -n1 -p $'Does this system need a ssh server?\n' REPLY fi read -n1 -p $'\nDoes this system have a GUI?\n' REPLY if [[ $REPLY == [Yy] ]]; then - sudo apt-get install synaptic + sudo apt-get install synaptic emacs else sudo apt-get install emacs-nox fi