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
相关推荐
Johny_Zhao9 小时前
Keepalived与Nginx架构选型
linux·nginx·信息安全·云计算·apache·shell·yum源·keepalive·系统运维
FlightYe12 小时前
linux系统编程(二十一):C 语言常见坑
android·linux·运维·服务器·c语言·音视频
by2099913 小时前
Linux 文件描述符与重定向
linux·服务器
橙橙笔记13 小时前
Linux基础与命令的学习
linux·运维·服务器·shell
无奈笑天下13 小时前
银河麒麟桌面操作系统【命令行配置文件与图片搜索功能】操作方法
linux·运维·服务器
飞花漫卷,情随岁迁14 小时前
网络数据包转发与内核机制:小白概念科普
linux·运维·网络·数据库·mysql·oracle·智能路由器
.道阻且长.15 小时前
Linux基础IO:理解文件以及回顾C文件接口
linux·运维·服务器·c语言·开发语言·职场和发展
丘山录16 小时前
本地部署 DGX Spark,200G 网卡挂在 4 条通道上
服务器·人工智能·spark·持续部署
学以智用16 小时前
CentOS 目录穿梭
linux
LabVIEW开发17 小时前
5850E 质量流量计 + LabVIEW 流量怎么控?
服务器·网络·labview