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
相关推荐
VekiSon7 分钟前
Linux系统编程——IPC进程间通信:信号通信与共享内存
linux·运维·服务器
南山nash8 分钟前
CentOs7 安装 Docker 详细步骤
linux·运维·docker·容器
徐先生 @_@|||14 分钟前
Conda最基础使用命令
linux·windows·conda
ZHHHHHJ6621 分钟前
LL层-PAST
运维·服务器·网络
wdfk_prog1 小时前
[Linux]学习笔记系列 -- [fs][drop_caches]
linux·笔记·学习
咩咩大主教1 小时前
VSCode远程连接Linux部署的Docker
linux·vscode·docker
名誉寒冰1 小时前
GDB 调试与 Core Dump(段错误)排查指南(Linux/C/C++)
linux·c语言·c++
fufu03111 小时前
Linux环境下的C语言编程(四十六)
linux·运维·服务器
巴拉巴拉~~1 小时前
KMP 算法通用进度条组件:KmpProgressWidget 多维度 + 匹配进度联动 + 平滑动画
java·服务器·前端
qq_418247882 小时前
Linux上部署conda环境
linux·运维·神经网络·机器学习·conda