From 2aa4c28c0b1b709103351110d2c23e9b0df7c816 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Fri, 9 Apr 2021 14:24:54 -0700 Subject: [PATCH] Set default git branch name to "main", add M1 homebrew path for Ruby opts --- gitconfig | 2 ++ zshrc | 3 +++ 2 files changed, 5 insertions(+) diff --git a/gitconfig b/gitconfig index 015dff0..72f36c1 100644 --- a/gitconfig +++ b/gitconfig @@ -42,3 +42,5 @@ fsckobjects = true [submodule] fetchJobs = 4 +[init] + defaultBranch = main diff --git a/zshrc b/zshrc index b25cfd0..f530258 100755 --- a/zshrc +++ b/zshrc @@ -61,6 +61,9 @@ if mac; then if [[ -d /usr/local/opt/openssl@1.1 ]]; then export RUBY_CONFIGURE_OPTS="--with-openssl-dir=/usr/local/opt/openssl@1.1" fi + if [[ -d /opt/homebrew/opt/openssl@1.1 ]]; then + export RUBY_CONFIGURE_OPTS="--with-openssl-dir=/opt/homebrew/opt/openssl@1.1" + fi # Set Apple Terminal.app resume directory if [[ $TERM_PROGRAM == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]] {