tlcl7426 / article

0 stars 0 forks source link

win10 wsl配置终端问题 #4

Open tlcl7426 opened 3 years ago

tlcl7426 commented 3 years ago
  1. 安装zsh sudo apt install zsh
  2. 配置zsh为默认shell sudo chsh -s $(which zsh)查看是否成功可以通过echo $SHELL
  3. 安装oh-my-zsl sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  4. 下载power-line字体并且设置好wslcmd可以通过github下载然后执行 文件夹下面的install.ps1
  5. 打开 ~/.zshrc 改为ZSH_THEME="agnoster"
  6. 下载dircolors-solarized解决配色问题 [](·curl https://raw.githubusercontent.com/seebi/dircolors-solarized/master/dircolors.ansi-dark --output ~/.dircolors ) 编辑 ~/.zshrc添加 evaldircolors ~/.dircolors``
  7. 下载colortool配置cmd颜色