Install ShellZsh in Linux

Source: Internet
Author: User
In addition to the commonly used BourneAgainShell (bash), there is also a more useful ZShell (zsh ). You can check the features of zsh before deciding whether to replace your original Shell with zsh. The installation of zsh personally thinks that the increase in work efficiency and quality is to improve from a small place and a small process. After reading the features of zsh, I think it should be helpful to install it. It is actually very simple. Zsh usage tips: http: // w

In addition to the commonly used Bourne Again Shell (bash), there is also a better use of Z Shell (zsh ). You can check the features of zsh before deciding whether to replace your original Shell with zsh.

Zsh Installation

I personally think that the increase in work efficiency and quality means the improvement from small places and small processes. After reading the features of zsh, I think it should be helpful to install it. It is actually very simple.

Zsh use experience three http://www.linuxidc.com/Linux/2012-08/67735.htm

1. Install from Repository

If you are RedHat/CentOS:

$ Sudo yum install zsh

If you are Debian/Ubuntu:

$ Sudo apt-get install zsh

2. Install the. zshrc Template

For Linux:

$ Curl http://stuff.mit.edu /~ Jdong/misc/zshrc> ~ /. Zshrc

For Mac:

$ Curl http://stuff.mit.edu /~ Jdong/misc/zshrc-osx-blackonwhite> ~ /. Zshrc

If you are FreeBSD:

$ Cd/usr/ports/shells/zsh

Sudo make install

# Introduce enhanced plug-ins, support for git, rails, and other supplements, multiple appearances available

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

# Use zsh as the default shell, which takes effect after restart

Chsh-s/bin/zsh

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.