1
0
mirror of https://github.com/danbee/mac-setup synced 2025-03-04 08:39:10 +00:00

Hopefully fix the read being skipped issue

This commit is contained in:
Daniel Barber 2019-04-22 21:37:35 -04:00
parent 667b746f9b
commit a50d452c11
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8
2 changed files with 2 additions and 2 deletions

View File

@ -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
sh -c '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.

View File

@ -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
sh -c 'read -r -p "Press any key to continue... " -n 1'
fi
# Add the SSH key to the agent now to avoid multiple prompts