环境:

  Ubuntu 32位

oh-my-zsh安装:

  1.安装zsh: sudo apt-get install zsh

  2.将当前用户的shell环境修改为zsh:  chsh -s /bin/zsh

    若用chsh命令修改无效,则进入/etc/passwd中修改当前用户的shell环境。

  3.安装oh-my-zsh【参考:https://github.com/robbyrussell/oh-my-zsh】

    3.1安装git: sudo apt-get install git

    3.2安装curl: sudo apt-get install curl

    3.2安装oh-my-zsh

      自动安装:      

curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh

        默认安装路径为:~/.oh-my-zsh

      手动安装:

git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

  4.重启:sudo reboot

    然后就可以看到oh-my-zsh生效。

相关文章:

  • 2021-08-03
  • 2022-01-29
  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
  • 2022-02-21
猜你喜欢
  • 2021-08-27
  • 2021-08-18
  • 2022-12-23
  • 2022-12-23
  • 2021-05-01
  • 2022-12-23
  • 2021-04-25
相关资源
相似解决方案