From 51d5224e2d1858623f610fceba2e10e896db7902 Mon Sep 17 00:00:00 2001 From: xunmi Date: Thu, 25 Jan 2024 17:57:48 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=96=B0=E5=A2=9E]=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=E6=96=87=E6=A1=A3=E4=B8=ADstart.sh=E7=9A=84?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ start.sh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 32c5a26..c3c8442 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # 介绍 寻觅使用的Linux配置脚本 + +如无zsh请先使用 `wget -qO- https://gitea.whlug.cn/xunmi/getLinux/raw/start.sh | bash` 命令安装基础模块 diff --git a/start.sh b/start.sh index 81ac8b8..c9ebfa7 100755 --- a/start.sh +++ b/start.sh @@ -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