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
相关推荐
一叶龙洲2 小时前
wslg打开Ubuntu24.04默认打开图形界面
linux·服务器·数据库·ubuntu
敖行客 Allthinker4 小时前
Parallels Ubuntu虚拟机项目如何让手机访问?完整解决方案
linux·运维·ubuntu
keyipatience5 小时前
线程栈与TLS和线程互斥
java·linux·服务器·开发语言·ubuntu
j7~6 小时前
【Linux】二十二.《Linux 信号机制完全指南:表示、捕捉与处理》
linux·信号处理·volatile·可入重函数·保存信号
观山岳五楼6 小时前
Ubuntu 24 怎么使用Ubuntu 20 的镜像源
linux·运维·ubuntu
m0_715646767 小时前
20260720
linux·arm
寒晓星7 小时前
[linux]线程及多线程
linux·运维
辰痕~7 小时前
物理机装Linux操作系统(Ubuntu为例)
linux·ubuntu
国服第二切图仔9 小时前
13其他工具 - Skill/LSP/Sleep等
linux·运维·里氏替换原则
就不掉头发10 小时前
计算机的虚拟内存
linux·服务器·windows