Set default git branch name to "main", add M1 homebrew path for Ruby opts
This commit is contained in:
parent
90c913850b
commit
2aa4c28c0b
2 changed files with 5 additions and 0 deletions
|
|
@ -42,3 +42,5 @@
|
||||||
fsckobjects = true
|
fsckobjects = true
|
||||||
[submodule]
|
[submodule]
|
||||||
fetchJobs = 4
|
fetchJobs = 4
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
|
|
||||||
3
zshrc
3
zshrc
|
|
@ -61,6 +61,9 @@ if mac; then
|
||||||
if [[ -d /usr/local/opt/openssl@1.1 ]]; then
|
if [[ -d /usr/local/opt/openssl@1.1 ]]; then
|
||||||
export RUBY_CONFIGURE_OPTS="--with-openssl-dir=/usr/local/opt/openssl@1.1"
|
export RUBY_CONFIGURE_OPTS="--with-openssl-dir=/usr/local/opt/openssl@1.1"
|
||||||
fi
|
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
|
# Set Apple Terminal.app resume directory
|
||||||
if [[ $TERM_PROGRAM == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]] {
|
if [[ $TERM_PROGRAM == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]] {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue