From 732df630853163c5ef75b4dda8cb6854af7c6381 Mon Sep 17 00:00:00 2001 From: WormHeamer Date: Thu, 1 Jan 2026 04:33:49 -0500 Subject: always pipe git diff into less --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index cc2091a..dc49482 100644 --- a/main.c +++ b/main.c @@ -1188,7 +1188,7 @@ int main(int argc, const char **argv) { shell_run_no_prompt("git log --oneline %"); break; case 'd': - shell_run_no_prompt("git diff %"); + shell_run_no_prompt("git diff --color=always % | less -cr"); break; case 'c': shell_run_no_prompt("git add % && git commit %"); -- cgit v1.2.3