1 linux
- 启用或关闭Windows功能 - 适用于Linux的Windows子系统
- 微软应用商店搜索 Linux - Ubuntu 18.04 LTS
- 在 Windows 下查看 WSL 文件位置
C:\Users\用户名\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\LocalState\rootfs
2 colorTool
- 下载地址 ColorTool
- 到解压目录下,执行挑选
colortool.exe -b deuteranopia
colortool.exe -b OneHalfDark
colortool.exe -b OneHalfLight
colortool.exe -b solarized_dark
colortool.exe -b solarized_light
3 修改源
- 复制
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
- 查看版本信息
lsb_release -c
- 增加源
sudo vim /etc/apt/sources.list
# 源地址
deb http:
deb-src http:
deb http:
deb-src http:
deb http:
deb-src http:
deb http:
deb-src http:
deb http:
deb-src http:
- 更新升级
sudo apt-get update
sudo apt-get upgrade
4 oh my zsh
- 安装 zsh
sudo apt-get install zsh
- 默认 shell 为 zsh,检查
chsh -s $(which zsh)
echo $SHELL
- 安装 oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
sh -c "$(curl -fsSL https://gitee.com/shmhlsy/oh-my-zsh-install.sh/raw/master/install.sh)"
sh -c "$(wget -O- https://gitee.com/shmhlsy/oh-my-zsh-install.sh/raw/master/install.sh)"
- 修改主题
sudo vim ~/.zshrc
ZSH_THEME="agnoster"
source ~/.zshrc
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
source ~/.zshrc