oh-my-zsh 安装和配置

安装zsh

bash 复制代码
sudo apt update
sudo apt install zsh

安装oh-my-zsh

bash 复制代码
sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)"

配置~/.zshrc

bash 复制代码
sudo vim ~/.zshrc

添加以下内容

vi 复制代码
ZSH_THEME="steeef"
HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt appendhistory

plugins=(git history history-substring-search node npm wd web-search last-working-dir zsh-autosuggestions emotty docker)

安装插件

复制代码
git clone https://gitee.com/mirrors/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
相关推荐
青禾8377 小时前
Linux 操作系统入门指南:从目录结构到常用命令
linux·运维·服务器
zhengqweasd7 小时前
流量没跑满、带宽空闲,业务依然卡顿
运维·服务器·网络
闖648 小时前
入门Linux操作系统|零基础吃透原理、目录、权限、常用命令
linux
bruk_spp8 小时前
linux pinctrl
linux
M哥支付9 小时前
高频交易优选方案:银联快捷支付通道
服务器·网络·其他·微信·金融
Y3815326629 小时前
Docker Compose 服务依赖与健康检查:healthcheck 让容器按正确顺序启动
运维·docker·容器
稳联技术老娜9 小时前
伺服内嵌EtherNet IP方案:嵌入式小板SPI通讯固件Demo程序适配改造
运维·服务器·网络
en.en..10 小时前
Linux系统编程:fcntl 与 ioctl
linux·运维·服务器
自动化监测Learner10 小时前
Navicat Premium 17 中文版安装教程(2026最新版)
java·linux·数据库
荣合技术服务11 小时前
Codex 实战:用 AI 写运维脚本
运维·codex