From 62d822917f3129e1258c7780de7bdceccefe8f9e Mon Sep 17 00:00:00 2001 From: Wilfred Tyler Gee Date: Tue, 19 Nov 2024 13:58:12 -1000 Subject: [PATCH] Change default shell with sudo --- resources/scripts/install-zsh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/scripts/install-zsh.sh b/resources/scripts/install-zsh.sh index ac4e27b38..9689baf91 100644 --- a/resources/scripts/install-zsh.sh +++ b/resources/scripts/install-zsh.sh @@ -7,7 +7,7 @@ function install_zsh() { if [ ! -d "$ZSH_CUSTOM" ]; then echo "Using zsh for a better shell experience." - chsh --shell /usr/bin/zsh "${PANUSER}" + sudo chsh --shell /usr/bin/zsh "${PANUSER}" # Oh my zsh wget -q https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O /tmp/install-ohmyzsh.sh