1、控制面板--程序--程序和功能。点击“启用或关闭Windows功能”。拉到最下面,找到"适用Linux的Windwos子系统",打勾,确定。

3、打开ubuntu,第一次打开跟虚拟机里第一次打开一样,会让你设置一个用户名和密码。(该用户是普通权限用户)自己设置下。
4、安装zshsudo apt-get install zsh把默认的Shell改成zshchsh -s /bin/zsh

5、子卺肿蓦艚系统自带git这里就不额外安装了。下载安装oh-my-zshsh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"


7、进到plugins目录下喉哆碓飙去cd ~/.oh-my-zsh/custom/plugins安装zsh-syntax-highlighting语法高亮插件git clone https://github.com/zsh-users/zsh-syntax-highlighting.gitecho安装zsh-autosuggestions语法历史记录插件git clone git://github.com/zsh-users/zsh-autosuggestions

9、启用插件vim ~/.zshrc添加下面内容plugins=( git zsh-autosuggestions zsh-syntax-highlighting)
