当前位置:网站首页>安装 oh my zsh
安装 oh my zsh
2022-07-25 09:24:00 【|刘钊|】
1、官网:传送门
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
或者:
$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
2、安装主题:
1、安装zsh-syntax-highlighting(语法高亮插件)
brew install zsh-syntax-highlighting或
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、安装zsh-autosuggestions(自动补全插件)
brew install zsh-autosuggestions或
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions编辑~/.zshrc文件:
vim ~/.zshrc按i 进入--INSERT--编辑模式,使用上下左右键找找到plugins=(git)这一行添加
plugins=(git zsh-autosuggestions)

保存退出:ESC 回到正常模式
:wq保存并退出vim
source ./zshrc更新下你的zsh
source ./zshrc3、安装incr.zsh 补全插件
下载这个插件:官网
plugins目录下新建incr文件夹,然后将incr-0.2.zsh文件copy到改目录下
cd /Users/liuzhao/.oh-my-zsh/plugins /

配置.zshrc,打开终端:
vim ~/.zshrc然后插入一句下面的 shell 脚本:
source ~/.oh-my-zsh/plugins/incr/incr*.zsh

让其生效:
source ~/.zshrc
3、附上效果图:


边栏推荐
- Probability theory and mathematical statistics 3 discrete random variables and probability distributions (Part 2)
- T5论文总结
- Connection and data reading of hand-held vibrating wire vh501tc collector sensor
- File -- first acquaintance
- OC -- packaging class and processing object
- 无线振弦采集仪参数配置工具的设置
- 工程仪器振弦传感器无线采集仪的采集数据发送方式及在线监测系统
- MLX90640 红外热成像仪测温模块开发说明
- 【Tensorflow2安装】Tensorflow2.3-CPU安装避坑指南!!!
- Introduction to armv8 architecture
猜你喜欢

ARM预备知识
![[Android studio] batch data import to Android local database](/img/fc/758df0ba1c4c5b4f0eb8ccbcb4952c.png)
[Android studio] batch data import to Android local database

工程监测无线中继采集仪和无线网络的优势

Temperature, humidity and light intensity acquisition based on smart cloud platform

工程监测多通道振弦传感器无线采集仪外接数字传感器过程

First knowledge of opencv4.x --- image histogram matching

Terminal definition and wiring of bsp3 power monitor (power monitor)

CDA Level1知识点总结之业务数据分析

First knowledge of opencv4.x ---- mean filtering

Evolution based on packnet -- review of depth estimation articles of Toyota Research Institute (TRI) (Part 2)
随机推荐
Fundamentals of C language
T5论文总结
Mlx90640 infrared thermal imaging sensor temperature measurement module development notes (II)
Swift creates weather app
FLASH read / write operation and flash upload file of esp8266
VCS常用命令
入住阿里云MQTT物联网平台
SystemVerilog syntax
概率论与数理统计 3 Discrete Random Variables and Probability Distributions(离散随机变量与概率分布) (下篇)
CCF 201512-4 送货
ISP image signal processing
CCF 201509-3 template generation system
CCF 201503-3 节日
SystemVerilog语法
ADC介绍
Linked list -- basic operation
【成长必备】我为什么推荐你写博客?愿你多年以后成为你想成为的样子。
用Arduino写个ESP32看门狗
CCF 201509-4 Expressway
testbench简介