OS
Mac
Oh My Zsh

安装 homebrew 、zsh 和 oh my zsh

homebrew (opens in a new tab)

# 安装 homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
 
# 安装 zsh
brew install zsh
 
# 安装 oh my zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

可以在这里 (opens in a new tab)看到如何设置为 zsh 为默认 shell

# Recent macOS versions:
chsh -s $(which zsh)
# For intel macs:
chsh -s /usr/local/bin/zsh
# macOS High Sierra and older:
chsh -s /bin/zsh

其他部分看

oh-my-zsh 配置