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
相关推荐
Acrellea19 分钟前
告别粗放式能耗管理!安科瑞EIOT平台助力产业园区智慧低碳运营
运维·安全·能源
代码村新手21 分钟前
Linux-进程概念
linux
华允物联-HUAIOT38 分钟前
串口路由器是什么?带串口的工业联网设备科普
服务器
Databuff40 分钟前
五款主流 SSH 免费工具介绍
运维·ssh·运维开发
ShineWinsu42 分钟前
对于Git:基础操作的超详细保姆级解析
linux·c++·git·面试·备份·管理·版本控制器
菜鸟学编程o1 小时前
Linux常见指令
linux·运维·服务器
pt10432 小时前
AIOps机器学习——当警报阈值被调高之后
运维·人工智能·自动化
linan1012 小时前
android调用C++通用方式
linux·架构·智能硬件
迪康coolmu2 小时前
企业文件外发管控落地实践 —— 基于迪康端点安全一体化管理系统
运维·网络·经验分享·安全
imaol12 小时前
网络通信-网络编程
linux·udp