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