AyaneAI / zsh-offline-install

一键部署zsh及其常用插件

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

适用环境

CentOS 可根据自己的系统修改zsh_offline_install.sh

在使用前,需要在联网环境中下载ohmyzshzsh-autosuggestionszsh-syntax-highlighting三个项目文件夹,并放置在此文件夹中

git clone https://github.com/ohmyzsh/ohmyzsh
git clone https://github.com/zsh-users/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting

使用方法

  1. 脚本文件添加执行权限
chmod +x zsh_offline_install.sh
  1. 执行脚本文件
./zsh_offline_install.sh
  1. 如果需要更新zsh-autosuggestions或者zsh-syntax-highlighting,可以到对应的插件目录下通过git pull更新插件
cd ~/.oh-my-zsh/custom/plugins
cd zsh-autosuggestions
git pull

相关项目地址

About

一键部署zsh及其常用插件


Languages

Language:Shell 100.0%