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
相关推荐
lld9510276 分钟前
(三)本地策略框架
java·服务器·数据库
专注搞钱10 分钟前
【行业思考】半导体CIM+AI+SKILL融合探索|FAB设备智能自动化演进解析
运维·人工智能·自动化
码云骑士11 分钟前
PowerShell自动化运维:批量调用图吧工具箱实现硬件检测与报告生成
运维·自动化
Plastic garden12 分钟前
k8s(3)rocky9.7 k8s和Rancher
运维·docker·容器
专注VB编程开发20年14 分钟前
C#,VB.NET 生成debug日志文件
服务器·数据库·c#
老H科研技术16 分钟前
第 02 篇:5 分钟搭建第一个 MCP 服务器
大数据·运维·服务器·人工智能·学习·aigc·ai编程
流浪00120 分钟前
Linux篇(十):取代命令行 GDB?CGDB 可视化调试全解析
linux·运维·服务器
日取其半万世不竭21 分钟前
Jellyfin 卡顿是服务器不够吗?先分清转码和直播放
运维·服务器
键盘上的猫头鹰23 分钟前
【Linux 基础教程(五)】磁盘管理、挂载硬盘、系统状态检测与软件安装(RPM/YUM)
linux·运维·服务器
杨某不才24 分钟前
Linux服务器离线安装docker
linux·服务器·docker