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
相关推荐
ZHANG13HAO5 分钟前
嵌入式温度记录仪:15 天数据存储与 BLE 无损压缩方案(CH592 最优实现)
大数据·服务器·数据库
API快乐传递者8 分钟前
1688商品数据接口:供应链ERP数字化的核心引擎
java·大数据·运维
Sean‘14 分钟前
Linux系统下安装Trivy
linux·运维·服务器
fqq321 分钟前
权限设计模式
运维
熬夜的咕噜猫26 分钟前
MySQL 故障排查与优化
大数据·运维·服务器·mysql
上海运维Q先生36 分钟前
SUSE 报错修复:unable to open display ““
linux·运维
云栖梦泽1 小时前
Linux内核与驱动:5.并发与竞争
linux·c++
九伯都1 小时前
云效-流水线-简单部署
运维·阿里云·持续部署
牢七1 小时前
CVE-2022-37202 nday 研究 sql
linux·windows·microsoft
打工人1379号1 小时前
2K3000常见问题合集
linux·运维·服务器