zsh 主题的下载和安装
文章目錄
- agnoster
- gallois
- spaceship
- Powerlevel10k
zsh 主題列表:
https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
https://github.com/robbyrussell/oh-my-zsh/wiki/themes
agnoster
agnoster 是比較常用的 zsh 主題之一,但是該主題是依賴于 Powerline 的,所以必須先安裝 Powerline。
而 Powerline 的正常顯示必須配合使用 Meslo LG 字體,否會出現(xiàn)亂碼,所以又要安裝 Meslo LG 字體才行。
執(zhí)行下面的腳本下載和安裝 agnoster:
cd ~/Desktop/OpenSource git clone https://github.com/fcamblor/oh-my-zsh-agnoster-fcamblor.git cd oh-my-zsh-agnoster-fcamblor/ ./install執(zhí)行上面的命令會將主題拷貝到oh my zsh的themes中:
拷貝完成后,執(zhí)行命令打開zshrc配置文件,將ZSH_THEME后面的字段改為agnoster。
編輯完成后保存退出,此時(shí)退出終端再打開或執(zhí)行命令 source ~/.zshrc,iTerm2 變了模樣:
gallois
gallois 的主題效果如下:
spaceship
GitHub主頁:https://github.com/spaceship-prompt/spaceship-prompt
官網(wǎng):https://www.npmjs.com/package/spaceship-zsh-theme
Powerlevel10k
GitHub主頁:https://github.com/romkatv/powerlevel10k
總結(jié)
以上是生活随笔為你收集整理的zsh 主题的下载和安装的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: (linux was)
- 下一篇: iTerm2主题