macOS 的一些配置
- touchpad 三指拖动
准备工作
- 允许任何来源的软件
sudo spctl --master-disable
- clashX 科学上网
安装 App
基于 homebr1ew 安装
# 先安装 homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" # 用 homebrew 安装 app brew install --cask \ 1password \ battery-buddy \ espanso \ karabiner-elements \ setapp \ telegram \ visual-studio-code # 安装命令行工具 brew install \ autojump \ bat \ cmatrix \ commitzen \ diff-so-fancy \ fd \ ffmpeg \ fzf \ gh \ git \ httpie \ hub \ hyperfine \ imagemagick \ jq \ lazygit \ mkcert \ nvm \ pnpm \ the_silver_searcher \ tig \ tldr \ tree \ ugit \ wget
通过 Setapp 安装(收费)
- Bartender
- CleanMyMac X
- CleanShot X
- Sip
- RapidAPI
- Paste
- MarginNote
- iStat Menus
- Paste
- textsniper
- PopClip
通过 App Store 安装
- Bob
- Snap
- RunCat
其他软件
- docker
- Reeder
软件设置
iterm2
- zsh 配置
- 插件
- 主题
- .zshrc
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" omz update source ~/.zshrc # starship 是 rust 写的 prompt 工具,极快 brew install starship echo 'eval "$(starship init zsh)"' >> ~/.zshrc
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
git clone https://github.com/iplaces/astro-zsh-theme.git && cp astro-zsh-theme/astro.zsh-theme ~/.oh-my-zsh/themes/ && rm -rf astro-zsh-theme
- vim 配置