Shell God plugin for Mac Zsh

Source: Internet
Author: User

Since the use of Mac after the various configurations, the premise of this article is to use Tmux friends, introduce a god plugin zsh, first of all why use it:

    1. Crtl + Z Displays the PID of the process when the process is suspended, so that manually Crtl the +c terminates the program and kills the process with the Kill + pid;
    2. When you open a project with Git, you can show your current branch.
    3. The use of any command can be complete operation, very convenient;
    4. Can install the extension, the function can be continuously expanded;

Install, direct with command:
Sh-c "$ (wget Https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh-O-)"
Installed directly can be used, even environment variables to help you migrate over, really sweet.

Configuration, also command:
Chsh-s/bin/zsh
Set Tmux inside use:
Set-option-g Default-command "Reattach-to-user-namespace-l zsh"

Special note: In the TMUX configuration to take effect, you have to restart the computer, right, you have not heard wrong, is to restart your Mac. If you have a better way to take effect without restarting, be sure to tell me to thank you first.

Note: It is important to note that the terminal shell we are using is already zsh, not the system default bash alive ITerm2, but zsh, so the environment variables are in. ZSHRC configuration file inside configuration Oh.

In addition, also attach zsh address click Open link

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Shell God plugin for Mac Zsh

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.