# 安装oh my zsh post=>theresia emt|December 19, 2020|1345|353|https://lh3.googleusercontent.com/a-/AOh14GhPb7zfSSYTvNA6psX28gfeiA5br7m1iPhwq72_-Q=s96-c tags=>十万个不记得|待修改 > 官网 https://ohmyz.sh/ ## Install oh-my-zsh ``` sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ```` ## Mac安装FiraCode字体并修改Iterm字体 + 从github下载 `git clone https://github.com/tonsky/FiraCode.git` + 进入 /distr/ttf 目录全选字体 右键open with font book + 可以顺便修改Iterm的字体为FiraCode ## 换一个好看的Iterm配色 [Solarized Dark Patched](https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/Solarized%20Dark%20-%20Patched.itermcolors) 保存为itermcolors后缀 ## 换一个好看的oh-my-zsh主题 `vim ~/.zshrc` 修改`ZSH_THEME="agnoster"` ## Install useful plugins click [plugins](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins) to see. `vim ~/.zshrc` 修改 `plugins=(git zsh-autosuggestions zsh-syntax-highlighting sudo)`. ### 安装 zsh-syntax-highlighting ``` git clone https://github.com/zsh-users/zsh-syntax-highlighting.git echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting ``` ### 安装 zsh-autosuggestions ``` git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions ``` 奇怪的字符งึ้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้