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
相关推荐
提伯斯6462 小时前
解决Fast-Drone-250编译相关错误
linux·ros·无人机·fast-drone
liulilittle2 小时前
过冲:拥塞控制的呼吸与盲行
linux·网络·c++·tcp/ip·计算机网络·tcp·通信
无足鸟ICT2 小时前
【RHCA+】三种工作模式
linux
Dlrb12112 小时前
Linux系统编程-会话、守护进程与系统日志
linux·守护进程·会话·进程组·系统日志
赵民勇2 小时前
Linux strings命令详解
linux·运维
GongzZz3 小时前
Linux 内存分配差异:用户空间 vs 内核空间
linux
敲代码的瓦龙3 小时前
操作系统?Android与Linux!!!
android·linux·运维
xiaoye-duck3 小时前
《Linux系统编程》Linux 进程信号深度解析(上):信号的产生方式、本质和闹钟
linux
Dxy12393102163 小时前
BAT 窗口不输出日志:三种静默方案,从半隐藏到完全消失
linux·运维·服务器