ZSH的简单配置

安装zsh

安装ohmyzsh

安装zsh-autosuggestions,zsh-syntax-highlighting。

编辑.zshrc,启用plugins。

解决git目录下卡顿问题:git config --global --add oh-my-zsh.hide-dirty 1

bash 复制代码
# https://gitcode.com/gh_mirrors/oh/ohmyzsh/overview
sh -c "$(curl -fsSL https://install.ohmyz.sh/)"
git clone https://gitcode.com/gh_mirrors/zs/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
git clone https://gitcode.com/gh_mirrors/zs/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions

# edit ~/.zshrc
# source ~/.zshrc
相关推荐
NamoAmitabha1283 小时前
libpng12-0 1.2.54-1ubuntu1.1 (amd64 binary) in ubuntu xenial
linux·ubuntu20.4
Madison-No74 小时前
搭建项目测试环境
linux·运维·服务器·python
吴声子夜歌5 小时前
Shell编程实例——编写安全的shell脚本(二)
linux·运维·shell
xiaoye-duck6 小时前
《Linux 网络编程》深入理解 IP 协议(二):网段划分、私有 IP 与 NAT 地址转换
linux·网络·ip
zx_741484817 小时前
【Linux入门】Shell 函数、正则表达式与文本处理:cut 与 awk
linux·运维·正则表达式
Zenova EdgeOS7 小时前
Linux dmesg 工业边缘实战:内核日志过滤、持久化与故障定位
linux·运维·边缘计算·工业边缘·dmesg·内核日志
金士顿7 小时前
System.Text.Json Source Generator 深度解析:为什么 Native AOT 不喜欢反射
linux·asp.net core·arm64·net·native aot
做运维的阿瑞8 小时前
Python 标准库汇总:分类速览与常用模块清单
linux·运维·python
百万蹄蹄向前冲9 小时前
密码都对Node.js却连不上Linux数据库
linux·mysql
彧azz9 小时前
Linux 网络编程学习总结
linux·网络·笔记·学习·面试