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:
- 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;
- When you open a project with Git, you can show your current branch.
- The use of any command can be complete operation, very convenient;
- 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