From 9588e41d00b73d4b3c2563e9a1f6eda4283e5af5 Mon Sep 17 00:00:00 2001 From: darkclip Date: Thu, 25 Jan 2024 16:33:55 +0800 Subject: [PATCH] update --- init.sh | 8 ++++---- packages-base | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/init.sh b/init.sh index af5ae1a..8d9ad82 100755 --- a/init.sh +++ b/init.sh @@ -10,9 +10,6 @@ case $OS_CODE in esac configure(){ - cp .zshrc $HOME - usermod -s /usr/bin/zsh $(whoami) - sed -i -r "s/.*set tabsize.*/set tabsize 4/g" /etc/nanorc sed -i -r "s/.*set tabstospaces.*/set tabstospaces/g" /etc/nanorc @@ -42,7 +39,7 @@ configure(){ command="nala" apt update apt install $command || command="apt" - $command install ca-certificates curl gnupg lsb-release + $command install ca-certificates curl gnupg lsb-release zsh if [[ $OS_VERSION=="12" ]]; then @@ -64,6 +61,9 @@ configure(){ tee /etc/apt/sources.list.d/ookla_speedtest-cli.list curl -fsSL "https://packagecloud.io/ookla/speedtest-cli/gpgkey" | \ gpg --dearmor | tee /etc/apt/trusted.gpg.d/ookla_speedtest-cli-archive-keyring.gpg > /dev/null + + cp .zshrc $HOME + usermod -s /usr/bin/zsh $(whoami) } install_pkg(){ diff --git a/packages-base b/packages-base index 56195ae..91f7c5d 100644 --- a/packages-base +++ b/packages-base @@ -11,7 +11,6 @@ exa bat fzf netcat-openbsd -zsh zsh-autosuggestions zsh-syntax-highlighting iperf3