当前位置:网站首页>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 :


边栏推荐
- 刷题-洛谷-P1150 Peter的烟
- 0716RHCSA
- QGIS loading online map: Gaode, Tiandi map, etc
- Okaleido上线聚变Mining模式,OKA通证当下产出的唯一方式
- Hcip day 9 notes
- 【AI4Code】CodeX:《Evaluating Large Language Models Trained on Code》(OpenAI)
- adb通过Wi-Fi连接小米手机
- 0719RHCSA
- Numpy简介和特点(一)
- 【GCN-RS】Towards Representation Alignment and Uniformity in Collaborative Filtering (KDD‘22)
猜你喜欢

0710RHCSA

嵌入式代码如何进行重构?

【CTR】《Towards Universal Sequence Representation Learning for Recommender Systems》 (KDD‘22)

程序员成长第二十七篇:如何评估需求优先级?

Discussion on principle and application technology of MLIR

How to refactor embedded code?

QGIS加载在线地图:高德、天地图等

0713RHCSA

Sports luxury or safety luxury? Which type of Asian Dragon and Volvo S60 should we start with?

Programmer growth chapter 27: how to evaluate requirements priorities?
随机推荐
说说对hashcode和equals方法的理解?
Numpy简介和特点(一)
全网最简单解决方式1045-Access denied for user [email protected](using password:YES)
uniapp处理后台传输图片
vim基础操作汇总
Online Learning and Pricing with Reusable Resources: Linear Bandits with Sub-Exponential Rewards: Li
arm架构移植alsa-lib和alsa-utils一路畅通
0710RHCSA
int数组获取重复数据
Uncaught SyntaxError: Octal literals are not allowed in strict mode.
0710RHCSA
嵌入式代码如何进行重构?
Generate SQL script file by initializing the latest warehousing time of vehicle attributes
What is your revenue rank among global developers in 2022?
QGIS加载在线地图:高德、天地图等
剑指offer专项突击版第10天
一味地做大元宇宙的规模,已经背离了元宇宙本该有的发展逻辑
Jupyter Notebook介绍
基于百问网IMX6ULL_PRO开发板驱动AP3216实验
Django 2 ----- database and admin