summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
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 %");