![](/style/images/good.png)
![](/style/images/bad.png)
Linux终端美化之ZSH
source link: https://panda843.github.io/article/3194097614.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Linux终端美化之ZSH
Zsh是一个Linux用户很少使用的shell,这是由于大多数Linux产品安装,以及默认使用bash shell。几乎每一款Linux产品都包含有zsh,通常可以用apt-get、urpmi或yum等包管理器进行安装
安装ZSH
sudo dnf install zsh |
安装oh-my-zsh
oh-my-zsh是基于zsh的功能做了一个扩展,方便的插件管理、主题自定义,以及漂亮的自动完成效果。
#CURL方式(二选一) |
安装powerline
Powerline是vim的状态行插件,并为其他几个应用程序提供状态行和提示,包括zsh,bash,tmux,IPython,Awesome,i3和Qtile。
For Shell
#安装powerline |
For Tmux
#安装tmux-powerline |
For VIM
#安装vim-plugin-powerline |
某些更改可能需要您重新加载会话或可能重新启动守护程序:powerline-daemon –replace
oh-my-zsh配置
完成配置后重启终端生效
oh-my-zsh主题列表
oh-my-zsh插件列表
#编辑~/.zshrc文件 |
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK