将oh-my-zsh编程真正的my zsh

环境:git

  Ubuntu 32位github

oh-my-zsh安装:shell

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

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

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

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

    3.1安装git: sudo apt-get install gitblog

    3.2安装curl: sudo apt-get install curlget

    3.2安装oh-my-zshit

      自动安装:      

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生效。

相关文章
相关标签/搜索