前言
之前用富文本写的几个还算有用的文章,用markdown写一下再发一遍,希望有人看。
起因
对于小白程序员,配置ZSH最好的办法还是通过Oh My Zsh,这名字起的确实耳目一新。。
Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration. It comes bundled with thousands of helpful functions, helpers, plugins, themes, and a few things that make you shout…
上面是Oh My Zsh官网的一句话,我目前是奔着themes去的,当然也想体验下它的plugins。
Install and Config
首先Windows肯定是不能用的,但是也可以用在WSL中,我是选择了装在阿里云上,因为是Ubuntu系统:
sudo apt install zsh
然后安装Oh My Zsh
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
安装过程会让你选择是否配置为默认终端,当然是Y了。
默认主题是啥我已经忘了,我是奔着agnoster去的,这个主题让我觉得很方便: