Skip to content

Commit

Permalink
Change default shell with sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgee committed Nov 19, 2024
1 parent 6262c14 commit 62d8229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/scripts/install-zsh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 62d8229

Please sign in to comment.