On-my-zsh pretty shell.

Source: Internet
Author: User

One

Http://www.cnblogs.com/GarveyCalvin/p/4301235.html

Two

Foreword: Zsh can be configured strong, user can customize the configuration, personalization is strong. Zsh Tab Completion is more powerful, this feature allows us to save a lot of time. Zsh also has the code highlighting function, makes the code to look better, appears the force lattice higher. Zsh also has a lot of powerful features, and here is not a detail.

Then I'll tell you a joke:

Zsh is all called the Z Shell, because Z is the last letter, so we call it the ultimate shell.

This is one of the comments I saw on the understanding that he was very reasonable and I was speechless.

A lot of people are using bash, which is why? Because zsh in the early days, its configuration is quite complex, the average person can only see the configuration will turn around and leave. However, now there is a cattle abroad, the configuration of the zsh is quite simple, we only need a few steps to complete, and it put the project on GitHub, that is on-my-zsh.

Basic Installation

UNIX-based operating system (MAC, Linux) requires pre-installation of zsh.

How to detect is to install ZSH:

Zsh--version;

ON-MY-ZSH Installation

First, automatic installation

wget Https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh-O-| Sh

Second, manual Installation

1. Cloning a warehouse

git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

2. If you already have a ~/.ZSHRC file, back up the existing ~/.ZSHRC file

CP ~/.ZSHRC ~/.zshrc.orig

3. Create a new zsh configuration file

CP ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.ZSHRC

4. Change the default shell

Chsh-s/bin/zsh

5. Restart your terminal (Terminal)

Some previews:

Some of the pits that have been met

Zsh cannot be set as the default shell

If it does, then we can manually enter zsh, just like this:

$ zsh?  

In addition, the associated alias can be copied to the ~/.ZSHRC file, and finally update the file with Source:

? SOURCE ~/.ZSHRC

On-my-zsh pretty shell.

Related Article

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.