From a690f715c5e79890549925515c3610d6ee1b43a5 Mon Sep 17 00:00:00 2001 From: Daniel Barber Date: Mon, 22 Apr 2019 21:37:35 -0400 Subject: [PATCH] Hopefully fix the read being skipped issue --- lib/chunkwm.sh | 2 +- setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chunkwm.sh b/lib/chunkwm.sh index 045edaf..c08702d 100755 --- a/lib/chunkwm.sh +++ b/lib/chunkwm.sh @@ -2,7 +2,7 @@ # Ask the user to generate a code signing key for `chunkwm` echo "Please generate a code signing certificate called 'chunkwm-cert' in Keychain Access" -read -r -p "Press any key to continue... " -n 1 +. read -r -p "Press any key to continue... " -n 1 # We need to code sign chunkwm and skhd in order for them to be added to the # accessibility allowed list. diff --git a/setup.sh b/setup.sh index 441d066..a977edf 100755 --- a/setup.sh +++ b/setup.sh @@ -19,7 +19,7 @@ if [ ! -f "$HOME/.ssh/id_ed25519.pub" ]; then echo "============ Public key =============" cat ~/.ssh/id_ed25519.pub echo "=====================================" - read -r -p "Press any key to continue... " -n 1 + . read -r -p "Press any key to continue... " -n 1 fi # Add the SSH key to the agent now to avoid multiple prompts