WSL2子系统下ubuntu18.04安装oh-my-zsh


WSL2子系统下ubuntu18.04安装oh-my-zsh

  1. sudo apt-get install zsh
  2. wget --no-check-certificate https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh -O - | sh

第二步出错的话,可以尝试下面的方法
git clone https://gitee.com/mirrors/oh-my-zsh.git
cd oh-my-zsh
cd tools
./install.sh

  1. chsh -s /bin/zsh 将默认的shell从bash改为zsh
  2. sudo reboot 重新启动


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM