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
相关推荐
qdprobot16 分钟前
开源的在线串口调试助手支持macOS苹果电脑Windows系统Linux 浏览器webSerial
linux·运维·服务器·人工智能·mixly·小智ai·webserial
wdfk_prog22 分钟前
[Linux]学习笔记系列 -- [fs]namespace
linux·笔记·学习
无限大.36 分钟前
为什么“DevOps“能提高软件开发效率?——从开发到运维的融合
linux·运维·devops
饭九钦vlog37 分钟前
dns形式的floodddos命令
linux·运维·服务器
mengml_smile37 分钟前
众包运维调研
运维
gaize121344 分钟前
服务器异常的处理方法
服务器
雪碧聊技术1 小时前
centos7如何安装redis?
linux·centos·安装redis
Anthony_2311 小时前
MySql常用SQL命令
服务器·数据库·sql·mysql·http·oracle·udp
旖旎夜光1 小时前
linux(8)(下)
linux·学习
树码小子1 小时前
网络原理(13):TCP协议十大核心机制 -- 确认应答 & 超时重传
服务器·网络·tcp/ip