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
相关推荐
bukeyiwanshui1 分钟前
20260526 综合实践:企业网站上云部署实践
运维·服务器
齐潇宇20 分钟前
DevOps介绍与工具链全解析
运维·devops·cicd
Arik~朽木27 分钟前
Ubuntu 安装指南
linux·运维·ubuntu
難釋懷35 分钟前
Nginx高可用配置
linux·nginx·php
IMPYLH36 分钟前
Linux 的 yes 命令
linux·运维·服务器·数据库·bash
土星云SaturnCloud38 分钟前
土星云AI边缘计算的算法应用-人脸检测
服务器·人工智能·ai·边缘计算
独钓寒江雨1 小时前
SRH介绍
运维·网络·srv6
东城绝神1 小时前
《Linux运维实战:使用脚本模拟服务器CPU内存磁盘使用率》
linux·运维·服务器
染翰1 小时前
Linux root用户安装配置Git
linux·git·后端
xingyuzhisuan1 小时前
企业级GPU算力远程部署:标准化访问配置与性能调优手册
服务器·运维开发·远程工作·gpu算力