From 533253e41c178beb95c93813d22fa5a218e90b72 Mon Sep 17 00:00:00 2001 From: zebra Date: Wed, 24 Jul 2024 13:34:47 -0700 Subject: [PATCH] dded yes prompt --- izebra-linux-oneshot.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/izebra-linux-oneshot.sh b/izebra-linux-oneshot.sh index c356cf3..7079cd4 100644 --- a/izebra-linux-oneshot.sh +++ b/izebra-linux-oneshot.sh @@ -18,7 +18,7 @@ sudo apt update sudo apt install fish -y wget -O "$HOME/.config/fish/config.fish" $fishconfig # Iterate over each user's home directory, including /root -for homedir in /home/*; do +for homedir in /root /home/*; do if [ -d "$homedir" ]; then # Ensure .config directory exists mkdir -p "$homedir/.config" @@ -39,10 +39,10 @@ done curl https://pyenv.run | bash #Download starship and copy config file to root and all users under /home/ -curl -sS https://starship.rs/install.sh | sh +curl -sS https://starship.rs/install.sh | yes | sh wget -O "$HOME/.config/starship.toml" $starshipconfig # Iterate over each user's home directory, including /root -for homedir in /home/*; do +for homedir in /root /home/*; do if [ -d "$homedir" ]; then # Ensure .config directory exists mkdir -p "$homedir/.config"