从零开始定制 macOS

Tag
draft
Slug
Created
Aug 8, 2023

macOS 的一些配置

  • touchpad 三指拖动

    准备工作

    1. 关闭 Sip
    1. 允许任何来源的软件
      1. sudo spctl --master-disable
    1. 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

      1. zsh 配置
        1. 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
          • .zshrc
      1. vim 配置
        1.  

      Bob