mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-08-20 15:18:29 +08:00
Since `set -e` is enabled, when `commit.gpgsign` is not set the `git config` command would show an error. Given that it is technically not ignored, the subshell would exit. With this change, the `commit.gpgsign` setting is properly tested by doing the fallback test if the command fails, so no exit status code ends up quiting the subshell.