From ad36d17f239f8330b7560523bcfb07a2db45e731 Mon Sep 17 00:00:00 2001 From: steveokard Date: Mon, 7 Jun 2021 11:35:43 -0400 Subject: [PATCH] zsh read is weird --- spacemacs.zsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spacemacs.zsh b/spacemacs.zsh index 9237c73..9bcbb93 100755 --- a/spacemacs.zsh +++ b/spacemacs.zsh @@ -7,8 +7,7 @@ if [ -d "$HOME/.emacs.d" ]; then fi #Select Stable or Develop -read -n1 -p $"Should we use the development version of emacs? \n" dist -if [[ $dist = y ]] then +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