zsh:glog: Show also commit stats in preview

This commit is contained in:
2021-02-17 02:39:59 +01:00
parent f746909e3a
commit fa9e8da091

View File

@@ -48,7 +48,7 @@ read -r -d '' <<EOT
EOT
fzf_preview[construct]="$REPLY"
read -r -d '' <<EOT
git show "${(j:%n:)format}" "$date" --color=always "\$out" \
git show "${(j:%n:)format}" "$date" --color=always --patch-with-stat "\$out" \
| diff-so-fancy --color=always
EOT
fzf_preview[patch]="$fzf_preview[construct] { $REPLY }"