commit nanorc config

This commit is contained in:
2023-01-05 14:16:34 -05:00
parent eeb1f2092c
commit 2f51d538a5
13 changed files with 107 additions and 47 deletions
+8 -2
View File
@@ -3,7 +3,8 @@
set -euo pipefail
# This shouldn't be run if not on macOS, but make double sure
if test ! "$(uname)" = "Darwin"; then
if [ ! "$(uname)" = "Darwin" ]; then
echo "Skipping macOS steps."
exit 0
fi
@@ -24,7 +25,7 @@ sudo xcodebuild -license accept
# This whole thing kinda hinges on having Homebrew...
# Check for it and install from GitHub if it's not there
# shellcheck disable=SC2230
if test ! "$(which brew)"; then
if [ ! "$(which brew)" ]; then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
@@ -48,6 +49,11 @@ chsh -s "$(brew --prefix)/bin/zsh"
chmod 755 "$(brew --prefix)/share/zsh"
chmod 755 "$(brew --prefix)/share/zsh/site-functions"
# 1Password SSH integration
# https://developer.1password.com/docs/ssh/get-started#step-4-configure-your-ssh-or-git-client
mkdir -p ~/.1password
ln -sf ~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock ~/.1password/agent.sock
# Install all apps from the Brewfile, ignore errors
brew tap homebrew/bundle
brew bundle || true