feat(osx): 添加brew和字体安装步骤,更新默认终端配置。增加chatbox、stats、vscode1.98.2的链接

This commit is contained in:
HawkinC Macbook 2025-05-21 23:14:24 +08:00
parent c29caa2fb6
commit 83f564466c
1 changed files with 23 additions and 1 deletions

View File

@ -10,27 +10,49 @@
# 系统设置--显示器--高级--「……防止休眠」勾选
# === 允许任意来源的app然后可“设置>隐私与安全性>仍然允许”
sudo spctl --master-disable
# ===
# = finder
# == 设置>边栏
# = 终端
# == 默认
# 设置>描述文件>键盘>option作为meta键
# 设置>描述文件>文本>字体 -> JetBrainsMono Nerd Font
# = brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
source "$HOME"/.config/zsh/share/app/brew.sh
# = stats
# https://mac-stats.com/
# https://github.com/exelban/stats/releases/download/v2.11.43/Stats.dmg
# = 安装JetBrainsMono Nerd Font
brew install --cask font-jetbrains-mono-nerd-font
# = python
# == uv
brew install uv
# === uv apps: tidevice
uv python install
# == pyenv
# = nodejs
# == nvm
# 执行`zimfw install`后nvm会自动安装
# == volta
# == corepack enable
# == pnpm
# = 飞书客户端,官网
# = arc 浏览器,要立刻同步
# == arc 插件沉浸式翻译、Vimium C、bitwarden、AutoJump、BiliScope、Virtual Json Viewer、思源(SiYuan)、篡改猴
# = 远程配置仓库
# = bash
# = zsh
cd "$HOME"
ln .config/zsh/zshrc.zsh .zshrc
brew install romkatv/powerlevel10k/powerlevel10k
zimfw install || zimfw reinstall
# = apifox
# = ai chat tool
# == chat box
# https://chatboxai.app/zh
# https://chatboxai.app/install?download=darwin-aarch64
# https://chatboxai.app/install?download=darwin-x86_64
# == cherry box
# = vscode
# centos的remote-ssh需要低于1.99.0——因为有glibc和kennel版本限制