summaryrefslogtreecommitdiff
path: root/plugins/zsh-navigation-tools/LICENSE
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2022-01-11 18:56:18 +0100
committerMarc Cornellà <hello@mcornella.com>2022-01-11 19:13:23 +0100
commita0a949de56f7bc63403c521bfb1d7426843ec5b7 (patch)
tree60b7d004a90ddcea49e0a140be2ce903021ffff8 /plugins/zsh-navigation-tools/LICENSE
parentb7a59e6d5c1a699b972a780b4a4eb4ffd89f22b3 (diff)
downloadzsh-a0a949de56f7bc63403c521bfb1d7426843ec5b7.tar.gz
zsh-a0a949de56f7bc63403c521bfb1d7426843ec5b7.tar.bz2
zsh-a0a949de56f7bc63403c521bfb1d7426843ec5b7.zip
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.
Diffstat (limited to 'plugins/zsh-navigation-tools/LICENSE')
0 files changed, 0 insertions, 0 deletions