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
相关推荐
独自归家的兔3 分钟前
开发核心问题深度解析:通配符接口 + 第三方数据同步 + 九宫格算法
服务器·windows·microsoft
DO_Community4 分钟前
从零开始,用 n8n 设计可扩展的自动化工作流
运维·ai·自动化·devops
bjzhang754 分钟前
Alpine Linux 也能当桌面版用
linux·alpine linux
2401_865854889 分钟前
在使用云服务器时经常会遇到哪些问题?
服务器
运维行者_22 分钟前
不同规模企业如何选 OPM?参考局域网管理软件与 cpu 温度监控适配指南
大数据·运维·服务器·网络·数据库·postgresql·snmp
..空空的人25 分钟前
C++基于protobuf实现仿RabbitMQ消息队列---服务器模块认识2
服务器·分布式·rabbitmq
分***826 分钟前
系统运维工具 v3.19.1.1221 中文绿色版下载 免安装电脑维护神器
运维·服务器·电脑·电脑维修工具
Lolo_fi27 分钟前
Linux pinctrl 子系统
linux
lvbinemail30 分钟前
添加zabbix-agentd.service
linux·运维·服务器·zabbix·监控
TG:@yunlaoda360 云老大31 分钟前
华为云国际站代理商GaussDB主要有什么作用呢?
服务器·数据库·华为云·gaussdb