Oh My Zsh 的花式配置
Table of Contents
🔨 安装
从 Github
从官网 [https://ohmyz.sh/]
🌠 主题
自己从 themes
里选一个自己喜欢吧🤣
我推荐的一个是 zsh2000, 是类 powerline 样式的
其他配置
好了, 我们开始搞事情
插件
-
dogsay - 打每个命令后都会有个狗头!
其中需要 2 个东西: lolcat - 给狗头上色 和 figlet - 给狗头说的话变成泡泡字
将插件安装在安装目录下的 plugins 下
目录一般在 ~/.oh-my-zsh/plugins
🛠 配置插件
打开 ~/.zshrc
在 plugins=(git dogesay)
中添加插件名, 这里我添加了 2 个插件 git
和 dogesay
🎉大功告成.