Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
Fixes missing $USER value in ArchLinux sh (bash)
|
|
|
|
|
|
|
|
Fixes #10587
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
Fixes #10448
|
|
Fixes #10422
|
|
Fixes #10404
|
|
|
|
Co-authored-by: Marc Cornellà <hello@mcornella.com>
|
|
|
|
In recent zsh versions, `${(@ps:$sep:)var}` where $sep is a variable containing
a separator string and $var is a string with multiple values separated by $sep,
the `p` flag makes zsh correctly expand $sep before splitting $var. In versions
older than 5.0.8, this doesn't happen, so we use `eval` to get the same effect.
|
|
|
|
|
|
|
|
|
|
Fixes #10345
|
|
|
|
This reverts commit 63b7e5767d551b1d839888a7216f2bed01e8eb1f.
|
|
|
|
Fixes #8387
|
|
Fixes #10187
Co-authored-by: NoPreserveRoot <NoPreserveRoot@pm.me>
|
|
|
|
|
|
Closes #8788
Co-authored-by: Nikolas Garofil <nikolas@garofil.be>
|
|
Co-authored-by: yyny <6576327+yyny@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
This patch removes the 'exit 1' status code when the update check
finishes or is ended with CTRL+C.
Fixes #10033
|
|
|
|
|
|
Fixes #8427
|
|
Fixes #9701
|