[新增] 新增说明文档中start.sh的使用方法

This commit is contained in:
寻觅(樊旭东) 2024-01-25 17:57:48 +08:00
parent f673c93b6a
commit 51d5224e2d
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
# 介绍
寻觅使用的Linux配置脚本
如无zsh请先使用 `wget -qO- https://gitea.whlug.cn/xunmi/getLinux/raw/start.sh | bash` 命令安装基础模块

View File

@ -1,6 +1,6 @@
#!/usr/bin/bash
# https://gitea.whlug.cn/xunmi/getLinux/src/start.sh
# wget -qO- https://gitea.whlug.cn/xunmi/getLinux/raw/start.sh | bash
PACK_LIST=("wget" "git" "zsh")
# 脚本根地址
ROOT_URL="https://gitea.whlug.cn/xunmi/getLinux/"
@ -108,7 +108,7 @@ Download_Config() {
# 下载zsh扩展
GreyStart
ohmyzsh_dir=${ROOT_INSTALL}/oh-my-zsh
sudo git clone https://gitcode.com/mirrors/ohmyzsh/ohmyzsh.git ${ohmyzsh_dir} || Show 1 "关键依赖下载失败"
sudo git clone https://gitcode.com/mirrors/ohmyzsh/ohmyzsh.git ${ohmyzsh_dir} || Show 1 "关键依赖下载失败, 如${ohmyzsh_dir}已存在, 请先删除 \nsudo rm -rf ${ROOT_INSTALL}"
cd ${ohmyzsh_dir}/custom/plugins/
sudo git clone https://gitcode.com/mirrors/zsh-users/zsh-autosuggestions.git
sudo git clone https://gitcode.com/mirrors/zsh-users/zsh-syntax-highlighting.git