发布时间:2022-08-09 文章分类:编程知识 投稿人:赵颖 字号: 默认 | | 超大 打印

Install ZSH shell onUbuntu

April 21, 2011

SetupZSHas your default terminal withoh-my-zsh

  • InstallZSH

    sudo apt-get update && sudo apt-get install zsh

    You can downloadZSHtutorial fromhere

  • Setupoh-my-zsh

    wget –no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O – | sh

  • MakeZSHdefault

    chsh -s /bin/zsh

  • Restart your system.

Note*
If you are a rails developer and using RVM, make sure you have added the following line at the end of your.zshrcfile.

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . “$HOME/.rvm/scripts/rvm”

sudo apt-get update && sudo apt-get install zsh

wget –no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O – | sh

chsh -s /bin/zsh

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . “$HOME/.rvm/scripts/rvm”