Mac OS自带的 Terminal 命令都保存在 .bash_profile 文件中 iTerm2命令都保存在 .zshrc 中
所以我们将很多命令保存且编辑
安装方法有两种,可以使用curl或wget,看自己环境或喜好:
# curl 安装方式
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# wget 安装方式
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"