mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 09:41:20 +08:00
a0a949de56
The previous check only worked if the user could run `sudo` without typing the password, which is almost none (I checked in Google Cloud Shell so I failed to notice this). This new check works whether the user has no sudo privileges, or if it has, whether they have to type in the password or not. It should really be easier to check if the user doesn't have privilege without having to make them type the password. |
||
---|---|---|
.. | ||
changelog.sh | ||
check_for_upgrade.sh | ||
install.sh | ||
require_tool.sh | ||
theme_chooser.sh | ||
uninstall.sh | ||
upgrade.sh |