1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-16 02:40:08 +00:00
ohmyzsh/tools
Marc Cornellà a0a949de56
fix(installer): fix sudo check for users with password or without privileges
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.
2022-01-11 19:13:23 +01:00
..
changelog.sh fix: disable log.showSignature in git log calls 2022-01-10 19:39:05 +01:00
check_for_upgrade.sh feat(updater): show command to update when update skipped (#10465) 2021-12-01 12:44:15 +01:00
install.sh fix(installer): fix sudo check for users with password or without privileges 2022-01-11 19:13:23 +01:00
require_tool.sh Fix version parsing. Now working with command $ zsh --version 2011-04-13 17:24:44 +02:00
theme_chooser.sh feat(theme_chooser): display non-zero exit code (#8428) 2021-04-06 12:23:59 +02:00
uninstall.sh fix(uninstall): fix renaming .zshrc when no original rc file found 2021-03-15 19:51:31 +01:00
upgrade.sh style: use 24bit colors in Oh My Zsh logo if supported 2022-01-09 23:11:35 +01:00