diff options
author | Guangxiong Lin <[email protected]> | 2023-12-27 01:32:11 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-12-27 01:32:11 +0800 |
commit | 24324723a0916a4ff9b2842a6134915f1d38db7e (patch) | |
tree | a718c9ceb3e02214afda2ec7edf3c184ed2b7472 | |
parent | 4d77b7e3165196342f7a6cc83eb549b63735ff5b (diff) | |
download | dotfiles-24324723a0916a4ff9b2842a6134915f1d38db7e.tar.gz dotfiles-24324723a0916a4ff9b2842a6134915f1d38db7e.tar.bz2 dotfiles-24324723a0916a4ff9b2842a6134915f1d38db7e.zip |
Use homebrew ruby by default
-rw-r--r-- | .macos | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,3 +13,5 @@ alias bug='brew upgrade --greedy' [ "$(arch)" = 'arm64' ] && eval "$(/opt/homebrew/bin/brew shellenv)" [ "$(arch)" = 'arm64' ] || eval "$(/usr/local/Homebrew/bin/brew shellenv)" + +[ -d '/usr/local/opt/ruby/bin' ] && export PATH="/usr/local/opt/ruby/bin:$PATH" |