当前位置:网站首页>Install oh my Zsh
Install oh my Zsh
2022-07-25 13:36:00 【|Liu Zhao|】
1、 Official website : Portal
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
perhaps :
$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
2、 Install theme :
1、 install zsh-syntax-highlighting( Syntax highlighting plug-in )
brew install zsh-syntax-highlightingor
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrcsource ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh2、 install zsh-autosuggestions( Auto completion plug-in )
brew install zsh-autosuggestionsor
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestionsedit ~/.zshrc file :
vim ~/.zshrcPress i Get into --INSERT-- Edit mode , Use the up, down, left and right keys to find plugins=(git) Add this line
plugins=(git zsh-autosuggestions)

Save and exit :ESC Back to normal mode
:wq Save and exit vim
source ./zshrc Update your zsh
source ./zshrc3、 install incr.zsh Complete the plug-in
Download this plugin : Official website
plugins New under the directory incr Folder , And then incr-0.2.zsh file copy To change the directory
cd /Users/liuzhao/.oh-my-zsh/plugins /

To configure .zshrc, Open the terminal :
vim ~/.zshrcThen insert the following sentence shell Script :
source ~/.oh-my-zsh/plugins/incr/incr*.zsh

Let it take effect :
source ~/.zshrc
3、 Attach renderings :


边栏推荐
- pycharm不能输入中文解决方法
- [six articles talk about scalablegnn] around www 2022 best paper PASCA
- Numpy快速入门
- The simplest solution of the whole network 1045 access denied for user [email protected] (using password:YES)
- 刷题-洛谷-P1161 开灯
- 0720RHCSA
- 央行数研所穆长春:数字人民币可控匿名是维护公众利益和金融安全的客观需要
- uniapp处理后台传输图片
- Mu Changchun, data Research Institute of the central bank: controllable anonymity of digital RMB is an objective need to safeguard public interests and financial security
- Peripheral system calls SAP's webapi interface
猜你喜欢
随机推荐
0710RHCSA
window unbutu20 LTS apt,wget 安装时 DNS 解析错误
Mutex lock, spin lock, read-write lock... Clarify their differences and applications
hcip第八天实验
0719RHCSA
【AI4Code】CodeX:《Evaluating Large Language Models Trained on Code》(OpenAI)
刷题-洛谷-P1075 质因数分解
0717RHCSA
为提高效率使用ParallelStream竟出现各种问题
@classmethod 装饰器
程序员成长第二十七篇:如何评估需求优先级?
[server data recovery] HP EVA server storage raid information power loss data recovery
uniapp处理后台传输图片
全网最简单解决方式1045-Access denied for user [email protected](using password:YES)
Excel import and export source code analysis
Programmer growth chapter 27: how to evaluate requirements priorities?
【AI4Code】《Pythia: AI-assisted Code Completion System》(KDD 2019)
0716RHCSA
并发编程之阻塞队列
Numpy快速入门









