summaryrefslogtreecommitdiff
path: root/plugins/direnv
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2022-01-11 16:18:00 +0100
committerMarc Cornellà <hello@mcornella.com>2022-01-11 16:45:36 +0100
commitb7a59e6d5c1a699b972a780b4a4eb4ffd89f22b3 (patch)
tree1d03f04bf58433ae7409ca14e485a768b7eaba70 /plugins/direnv
parent9c84c344d762b200de7acc794b9a0e7832144e7a (diff)
downloadzsh-b7a59e6d5c1a699b972a780b4a4eb4ffd89f22b3.tar.gz
zsh-b7a59e6d5c1a699b972a780b4a4eb4ffd89f22b3.tar.bz2
zsh-b7a59e6d5c1a699b972a780b4a4eb4ffd89f22b3.zip
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.
Diffstat (limited to 'plugins/direnv')
0 files changed, 0 insertions, 0 deletions