更新 setup.sh
This commit is contained in:
6
setup.sh
6
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
|
||||
|
||||
Reference in New Issue
Block a user