gen a ssh key:
set key to Github:
https://github.com/settings/keys
拉取该项目到本地
下载 karabiner:https://karabiner-elements.pqrs.org/
替换 karabiner.json 到 ~/.config/karabiner/
启动 karabiner 并给权限
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
按 log 提示添加 PATH
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
git clone https://github.com/lukechilds/zsh-nvm ~/.oh-my-zsh/custom/plugins/zsh-nvm
brew install fzf
# To install useful key bindings and fuzzy completion:
$(brew --prefix)/opt/fzf/install
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-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
https://www.nerdfonts.com/font-downloads
# 选择 Fira Mono font
# item2 配置 text 里面选择字体 + 字体大小
brew install neovim
# 1. clone mac-env-setup repo
# 2. cp to ~/.config/nvim/
nvm install 20.15.0
nvm use 20.15.0
git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim
# 1. 进入 nvim,执行:PackerSync
npm i [email protected] -g
https://github.com/BurntSushi/ripgrep#installation
brew install tmux
copy .tmux.conf to ~/
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
tmux source ~/.tmux.conf
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
- install Raycast
- open the Raycase.xx.rayconfig and import