Skip to content

Commit

Permalink
fix: no need to tap core and cask in brew
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Nov 9, 2024
1 parent 5cbd841 commit d6d024f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .zshrc.local
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,7 @@ if [[ $OSTYPE == darwin* ]]; then

function set_homebrew_mirror() {
set_homebrew_env

for tap in core cask command-not-found; do
brew tap --custom-remote --force-auto-update "homebrew/${tap}" "https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-${tap}.git"
done
brew tap --custom-remote --force-auto-update homebrew/command-not-found https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-command-not-found.git
brew update
}

Expand Down

0 comments on commit d6d024f

Please sign in to comment.