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 小时前
Keepalived 高可用集群
运维·服务器
盖头盖4 小时前
【无参数_Rce】
服务器
czxyvX5 小时前
007-Linux进程概念及周边知识
linux
Eternity∞6 小时前
Linux系统下,C语言基础
linux·c语言·开发语言
LateFrames6 小时前
IIS 窗口不显示,但是任务栏状态正常
服务器·windows·microsoft
feng68_6 小时前
HAProxy算法实践
linux·运维·haproxy
志栋智能6 小时前
AI驱动的系统自动化巡检:重塑IT基石的智慧“守护神”
大数据·运维·人工智能·云原生·自动化
DeeplyMind7 小时前
第23章 ROCm虚拟化栈Docker化实战
运维·docker·容器
吹牛不交税8 小时前
在vmware中右键SSH连接虚拟机报错Could not resolve hostname
linux·服务器·ssh
西柚云8 小时前
把Codex装进VSCode!OpenAI编程助手插件版来了
服务器·ide·vscode·ai编程·codex