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
相关推荐
hi_ro_a2 小时前
Ext系列⽂件系统详解
linux·服务器·操作系统
你住过的屋檐4 小时前
【SeaweedFS】Linux上搭建SeaweedFS文件存储服务完整教程
linux·运维·服务器
少司府5 小时前
嵌入式外设篇(三)GPIO·三:MCU系统结构、总线与统一编制
linux·python·stm32·单片机·嵌入式硬件·mcu·嵌入式软件
不积跬步无以至千里mmbb266 小时前
Rust三大核心:Trait Crate Mod详解
linux·rust
无忧.芙桃21 小时前
Linux系统编程(四):用户与权限管理
linux·运维·服务器
戊本菌1 天前
进程(三)进程优先级:谁先上 CPU
linux·c语言·硬件架构
aningx1 天前
Arch 系用 greetd 实现开机自动进 Plasma Wayland,注销自动回桌面
linux
江无行者1 天前
Linux 服务器 top 命令详解
linux
嵌入式 Linux手记1 天前
一块内存,三种解释:union 的真实用法
linux·c语言·驱动开发·嵌入式
星恒随风1 天前
MySQL 从零入门(九):事务管理详解——ACID、COMMIT、ROLLBACK、SAVEPOINT 与四种隔离级别
linux·服务器·数据库·笔记·mysql