新电脑/系统我的 Setup

浏览器:Safari

系统自带,通过它来 下载 Chrome 浏览器

浏览器:Chrome

登录 Google 帐号,以便同步浏览器内容及设置

整理程序坞

首先,将不常用的、系统自带的 App 全部移到一个文件夹里去,让世界变得清爽起来。

邮箱

登录邮箱,及时收取、查看邮件

Source Code Pro

下载 TTF 类型后,进行安装

Terminal

选择自带 Pro 的 profile 为默认

配置

OhMyZsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

执行此命令后,会先自动安装 develop tools,完毕后,再次执行上述命令,随后,vim .zshrc 找到 plugins=(git) 启用插件:git z zsh-syntax-highlighting zsh-autosuggestions

Plugins: zsh-autosuggestions

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Plugins: zsh-completions

git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-completions

Plugins: zsh-syntax-highlighting

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting 

Alias: git

alias gs="git switch"
alias glog="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
alias glu="git pull upstream"

History

https://github.com/atuinsh/atuin

bash <(curl https://raw.githubusercontent.com/atuinsh/atuin/main/install.sh)

Doggo

https://github.com/mr-karan/doggo

sudo mkdir -p /usr/local/bin/
curl -sS https://raw.githubusercontent.com/mr-karan/doggo/main/install.sh | sh

node

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
nvm install 22
corepack enable pnpm

Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Git

从家庭存储里下载以下文件,并放到桌面:

执行以下命令:

mv ~/Desktop/gitconfig.bak ~/.gitconfig
mv ~/Desktop/gitignore_global.bak ~/.gitignore_global

SSH

从家庭存储里下载以下文件,并放到桌面:

执行以下命令:

mkdir -p ~/.ssh/
mv ~/Desktop/config.bak ~/.ssh/config
mv ~/Desktop/id_rsa.bak ~/.ssh/id_rsa
mv ~/Desktop/id_rsa.pub ~/.ssh/
mv ~/Desktop/work_rsa.bak ~/.ssh/work_rsa
mv ~/Desktop/work_rsa.pub ~/.ssh/
mv ~/Desktop/private.gpg.asc ~/.ssh/
mv ~/Desktop/public.gpg.asc ~/.ssh/
chmod 600 ~/.ssh/id_rsa
chmod 600 ~/.ssh/work_rsa

通讯软件

开发工具

知识管理

娱乐

logo 闫嵩达 | yansongda

© 2025 yansongda

鄂ICP备12009370号 鄂公网安备 42018502003545号

GitHub