fix setup zsh
This commit is contained in:
parent
c54db52ec0
commit
7147d72ad7
@ -18,8 +18,8 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Changing default shell to Zsh for user ${SUDO_USER:-$USER}..."
|
echo "Changing default shell to Zsh for user $(whoami)..."
|
||||||
zsh_path=$(command -v zsh)
|
zsh_path=$(command -v zsh)
|
||||||
sudo chsh -s "$zsh_path" "${SUDO_USER:-$USER}"
|
sudo chsh -s "$zsh_path" "$(whoami)"
|
||||||
|
|
||||||
echo "Zsh installation and setup complete. Please log out and log back in for changes to take effect."
|
echo "Zsh installation and setup complete. Please log out and log back in for changes to take effect."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user