From 28f5a45b12a29d9a4b9f9ec0364615ef52dadef4 Mon Sep 17 00:00:00 2001 From: adminroot Date: Sun, 12 Oct 2025 13:24:28 +0200 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20setup.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.sh b/setup.sh index 0b21ee4..71c215a 100644 --- a/setup.sh +++ b/setup.sh @@ -32,16 +32,14 @@ for choice in $choices; do 3) echo "配置常用alias缩写" wget https://git.nvme.cc/adminroot/setup/raw/branch/main/alias.txt -qO ~/.alias.txt - echo -e 'if [ -f ~/.alias.txt ]; then\n . ~/.alias.txt\nfi' >>/etc/profile echo -e 'if [ -f ~/.alias.txt ]; then\n . ~/.alias.txt\nfi' >>~/.bashrc - wget https://git.nvme.cc/adminroot/setup/raw/branch/main/nanorc -O ~/.nanorc ;; 4) - echo "即将安装htop cbm tree tmux ufw curl wget lsof nano sudo git git-lfs 7z" + echo "即将安装htop cbm tree ufw curl wget lsof micro git git-lfs 7z zellij" echo "可选: build-essential ffmpeg" read -p "额外安装(包名): " app apt update -y - apt install -y htop cbm tree tmux ufw curl wget lsof nano sudo git git-lfs $app + apt install -y htop cbm tree ufw curl wget lsof micro git git-lfs $app wget https://www.7-zip.org/a/7z2501-linux-x64.tar.xz -O 7z.tar.xz tar -xf 7z.tar.xz -C /usr/local/bin/ --transform 's/7zz$/7z/' "7zz" chmod +x /usr/local/bin/7z