1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-11-05 14:01:16 +08:00
Marc Cornellà b7a59e6d5c
fix(installer): run chsh with sudo if user has privileges
This fixes the error in Google Cloud Shell, where a password prompt
appears when running `chsh` but the user (hello) does not have a
password.

If ran with `sudo`, the `chsh` command happens without a password
prompt.
2022-01-11 16:45:36 +01:00
..