Install and configure zsh and oh-my-zsh in Ubuntu

Source: Internet
Author: User

Just something to add.

The shells are installed by default in 1.ubuntu

Jiang@Linux: ~#/etc/shells:valid Login Shells/bin/sh/bin/dash/bin/bash/bin/rbash  

I have sh, dash, bash and rbash on my PC (who is this?). )

2. The version of the shell that is currently running

Jiang@Linux: ~$SHELL/bin/bash  
3.shell is what please google!!! Now officially installed

Install zsh, git, and wget:

Jiang@Linux: ~$ sudo apt-get install zsh git wget  

Get and automatically follow Oh-my-zsh:

Jiang@Linux: ~https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O-| SH      

Replace bash for zsh:

Jiang@Linux: ~$ chsh-s/bin/zsh  

To set ZSH parameters:
After installing ZSH, there will be a hidden file named. ZSHRC in your home directory, you can configure zsh parameters according to your personal habits, I will give the configuration file directly
If necessary, please click here to download
After downloading, you will get a file named _.ZSHRC.
First go to the home directory, back up the original. ZSHRC, and then rename the _.ZSHRC file:

Jiang@Linux: ~$ CP. ZSHRC. Zshrc.bakjiang@Linux: ~_.zshrc. ZSHRC     

Last reboot:

Jiang@Linux: ~$ sudo reboot  

After rebooting, you will see

OK, you can try it, good luck!
This is ligelaige ... Jinqiang's blog, I'm trying to do better ...

Install and configure zsh and oh-my-zsh in Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.