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
相关推荐
潘正翔9 小时前
docker核心概念
linux·运维·服务器·docker·容器·centos·运维开发
weigangwin10 小时前
agent-workspace-linux 不是远程桌面:Linux AI 工作区的隔离边界验收
linux·xvfb·mcp·桌面隔离·权限边界·bubblewrap·agent-workspace
Dovis(誓平步青云)11 小时前
远程办公软件文件传输实测:6 款工具的速度、稳定性和办公体验对比
linux·运维·服务器·后端·生成对抗网络
Java小白笔记12 小时前
Docker 安装配置完全指南:MacOS 、Windows、Linux环境下的安装、配置与验证
linux·macos·docker
qetfw14 小时前
CentOS 7 搭建 LDAP 目录服务
linux·运维·centos
ALINX技术博客15 小时前
【黑金云课堂】FPGA技术教程Linux开发:系统进阶-PS DMA
linux·fpga开发
IT方大同15 小时前
linux简介
linux·运维·服务器
mounter62516 小时前
从内存隔离到运行时防线:透视 Linux 内核安全强化的博弈与演进
linux·网络·安全·linux kernel·kernel
微道道16 小时前
Linux盒子局域网内使用 .local 域名访问,告别IP变化烦恼
linux·运维·服务器·hermes
Bug退散师18 小时前
多路IO复用[select版TCP服务器与poll版TCP服务器]与常用网络编程函数详解
linux·服务器·c语言·网络·驱动开发·tcp/ip