1. Install basic components First, execute the yum install -y zsh git Install the wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh Use which zsh Use the chsh -s /usr/bin/zsh 2. Perform optional configuration 2.1 Installing ZSH Icon Font Execute the following command to pull the icon repository in the current directory, switch to its directory, and execute the git clone https://github.com/powerline/fonts.git 2.2 Change ZSH theme Use the 2.3 Installing plugins The main reason for using ZSH to replace the original SHELL is to use its powerful plug-ins. Here we only recommend installing three plug-ins, namely First, execute the following commands in sequence to clone the repositories of the following two plug-ins into the plug-in directory of Oh My Zsh. cd ~/.oh-my-zsh/custom/plugins git clone https://github.com/zsh-users/zsh-syntax-highlighting.git git clone https://github.com/zsh-users/zsh-autosuggestions.git After the cloning operation is completed, the full paths of the two plug-ins are: /root/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-syntax-highlighting.zsh /root/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh Continue to use # Other content plugins=( git wd zsh-syntax-highlighting zsh-autosuggestions ) source /root/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-syntax-highlighting.zsh source /root/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source $ZSH/oh-my-zsh.sh # Other content After editing, execute the Summarize The above is the configuration method of installing ZSH terminal in CentOS 7.x introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! |
<<: MySQL incremental backup and breakpoint recovery script example
>>: Implementing license plate input function in WeChat applet
Table of contents 1. Slow query configuration 1-1...
Introduction Dockerfile build run is a manual ope...
Table of contents need Get data and submit Templa...
How to use css variables in JS Use the :export ke...
This article shares the installation and configur...
background During development, we may need some s...
I used the label tag when I was doing something re...
Table of contents Preface Computed properties Int...
This article describes how to install mysql5.6 us...
<br />The page uses UTF8 encoding, and the h...
In website construction, you will always encounter...
1. Use CSS to draw a small pointed-corner chat di...
This article example shares the specific code of ...
As shown below: select a1,a2,a1+a2 a,a1*a2 b,a1*1...
Table of contents 1. Ubuntu source change 2. Inst...