From bfc876d91c97930189d5bf9b9784ac9b441922d2 Mon Sep 17 00:00:00 2001 From: pika Date: Wed, 26 Mar 2025 22:27:10 +0100 Subject: [PATCH] feat: user gets asked to install neovim config either minimal or standard --- install.sh | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/install.sh b/install.sh index fdd8c46..941bbda 100755 --- a/install.sh +++ b/install.sh @@ -31,7 +31,7 @@ command_exists() { # ─< Check if the user is root and set sudo variable if necessary >─────────────────────── check_root() { - if (( EUID != 0 )); then + if ((EUID != 0)); then if command_exists sudo; then echo_info "User is not root. Using sudo for privileged operations." _sudo="sudo" @@ -164,6 +164,11 @@ askThings() { echo_info "Do you also want to install optional packages? (y/n)" read -r askOptional