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
相关推荐
编码小笨猪6 小时前
浅谈Linux中一次系统调用的执行过程
linux·服务器·c++
早起鸟儿7 小时前
docker-Dockerfile 配置
java·linux·运维·docker
虚妄狼7 小时前
【Docker Desktop】Windows11安装 Docker Desktop
运维·docker·容器
Hello.Reader8 小时前
NGINX 四层上游模块`ngx_stream_upstream_module` 实战指南
运维·nginx
tiantianuser8 小时前
RDMA简介7之RoCE v2可靠传输
服务器·fpga开发·verilog·xilinx·rdma·可编程逻辑
IT成长日记8 小时前
【Docker基础】Docker核心概念:命名空间(Namespace)与资源隔离联系
运维·docker·namespace·资源隔离·命令空间
Mikhail_G8 小时前
Python应用八股文
大数据·运维·开发语言·python·数据分析
再ZzZ10 小时前
Docker安装PaddleOCR并提供接口服务(CPU)
运维·docker·容器
国际云,接待10 小时前
微软云注册被阻止怎么解决?
服务器·网络·microsoft·云原生·微软·云计算
love530love11 小时前
是否需要预先安装 CUDA Toolkit?——按使用场景分级推荐及进阶说明
linux·运维·前端·人工智能·windows·后端·nlp