mirror of
https://github.com/danbee/mac-setup
synced 2025-03-04 08:39:10 +00:00
Does bash work better?
This commit is contained in:
parent
a50d452c11
commit
60d2adedd4
3
extra.sh
3
extra.sh
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
MAC_SETUP_DIR="$HOME/mac-setup"
|
MAC_SETUP_DIR="$HOME/mac-setup"
|
||||||
|
|
||||||
BOLD="\033[1m"
|
BOLD="\033[1m"
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Ask the user to generate a code signing key for `chunkwm`
|
# Ask the user to generate a code signing key for `chunkwm`
|
||||||
echo "Please generate a code signing certificate called 'chunkwm-cert' in Keychain Access"
|
echo "Please generate a code signing certificate called 'chunkwm-cert' in Keychain Access"
|
||||||
sh -c '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
|
# We need to code sign chunkwm and skhd in order for them to be added to the
|
||||||
# accessibility allowed list.
|
# accessibility allowed list.
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cd "$HOME"
|
cd "$HOME"
|
||||||
|
|
||||||
if [ $SHELL != $(which zsh) ]; then
|
if [ $SHELL != $(which zsh) ]; then
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# mas install 13764025890
|
# mas install 13764025890
|
||||||
mas install 1107421413
|
mas install 1107421413
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
export LDFLAGS="-L/usr/local/opt/zlib/lib"
|
export LDFLAGS="-L/usr/local/opt/zlib/lib"
|
||||||
export CPPFLAGS="-I/usr/local/opt/zlib/include"
|
export CPPFLAGS="-I/usr/local/opt/zlib/include"
|
||||||
|
|||||||
5
setup.sh
5
setup.sh
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
MAC_SETUP_DIR="$HOME/mac-setup"
|
MAC_SETUP_DIR="$HOME/mac-setup"
|
||||||
|
|
||||||
BOLD="\033[1m"
|
BOLD="\033[1m"
|
||||||
@ -19,7 +20,7 @@ if [ ! -f "$HOME/.ssh/id_ed25519.pub" ]; then
|
|||||||
echo "============ Public key ============="
|
echo "============ Public key ============="
|
||||||
cat ~/.ssh/id_ed25519.pub
|
cat ~/.ssh/id_ed25519.pub
|
||||||
echo "====================================="
|
echo "====================================="
|
||||||
sh -c 'read -r -p "Press any key to continue... " -n 1'
|
read -r -p "Press any key to continue... " -n 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add the SSH key to the agent now to avoid multiple prompts
|
# Add the SSH key to the agent now to avoid multiple prompts
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user