当前位置:网站首页>安装 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、附上效果图:


边栏推荐
- 【近万字干货】别让你的简历配不上你的才华——手把手教你制作最适合你的简历
- SD/SDIO/EMMC
- [RNN] analyze the RNN from rnn- (simple|lstm) to sequence generation, and then to seq2seq framework (encoder decoder, or seq2seq)
- 无线中继采集仪的常见问题
- Evolution based on packnet -- review of depth estimation articles of Toyota Research Institute (TRI) (Part 2)
- ¥ 1-1 SWUST OJ 941: implementation of consolidation operation of ordered sequence table
- Creation of adjacency matrix of undirected connected graph output breadth depth traversal
- Linked list -- basic operation
- TensorFlow raw_ RNN - implement the seq2seq mode to take the output of the previous time as the input of the next time
- Data viewing and parameter modification of multi-channel vibrating wire, temperature and analog sensing signal acquisition instrument
猜你喜欢

ARMV8体系结构简介

SD/SDIO/EMMC

ARM预备知识

Mlx90640 infrared thermal imaging sensor temperature measurement module development notes (II)

Solve the problem that esp8266 cannot connect mobile phones and computer hotspots

T5论文总结

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

OC -- packaging class and processing object

Evolution based on packnet -- review of depth estimation articles of Toyota Research Institute (TRI) (Part 2)

BSP3 电力监控仪(功率监控仪)端子定义和接线
随机推荐
First knowledge of opencv4.x --- image histogram equalization
数据分析业务核心
Yolov5 realizes target detection of small data sets -- kolektor defect data set
ARMV8体系结构简介
数字IC设计SOC入门进阶
OC -- packaging class and processing object
从Anaconda到TensorFlow到Jupyter一路踩坑一路填平
CCF 201512-3 drawing
深度学习 段错误(Segment Core/ Exit code 139)情况记录
ARM GIC简介
Mlx90640 infrared thermal imaging sensor temperature measurement module development notes (III)
CCF 201509-4 Expressway
Introduction to arm GIC
First knowledge of opencv4.x --- image histogram matching
Mixed supervision for surface defect detection: from weakly to fully supervised learning
TensorFlow2 安装快速避坑汇总
About student management system (registration, login, student side)
CCF 201512-3 画图
CCF 201509-2 日期计算
多通道振弦、温度、模拟传感信号采集仪数据查看和参数修改