summaryrefslogtreecommitdiff
path: root/themes/smt.zsh-theme
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2022-01-10 19:39:05 +0100
committerMarc Cornellà <hello@mcornella.com>2022-01-10 19:39:05 +0100
commit9c84c344d762b200de7acc794b9a0e7832144e7a (patch)
tree0b177e0ca390c6a5315d7397a51dc5b1f2806529 /themes/smt.zsh-theme
parent971683762e3aba543b0dc787e8a5ee1c16b5ace7 (diff)
downloadzsh-9c84c344d762b200de7acc794b9a0e7832144e7a.tar.gz
zsh-9c84c344d762b200de7acc794b9a0e7832144e7a.tar.bz2
zsh-9c84c344d762b200de7acc794b9a0e7832144e7a.zip
fix: disable `log.showSignature` in `git log` calls
Diffstat (limited to 'themes/smt.zsh-theme')
-rw-r--r--themes/smt.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/smt.zsh-theme b/themes/smt.zsh-theme
index 7f54472c6..52e6d9a21 100644
--- a/themes/smt.zsh-theme
+++ b/themes/smt.zsh-theme
@@ -40,7 +40,7 @@ function git_time_since_commit() {
local last_commit seconds_since_last_commit
# Only proceed if there is actually a commit
- if ! last_commit=$(command git log --pretty=format:'%at' -1 2>/dev/null); then
+ if ! last_commit=$(command git -c log.showSignature=false log --pretty=format:'%at' -1 2>/dev/null); then
echo "[$ZSH_THEME_GIT_TIME_SINCE_COMMIT_NEUTRAL~%{$reset_color%}]"
return
fi