diff options
| author | WormHeamer | 2026-01-01 04:33:49 -0500 |
|---|---|---|
| committer | WormHeamer | 2026-01-01 04:33:49 -0500 |
| commit | 732df630853163c5ef75b4dda8cb6854af7c6381 (patch) | |
| tree | a8f76011f60cec146fd17ef0e74a582dfce59cd8 | |
| parent | 701af52ee94cf7a659856d24fff7145368a3650e (diff) | |
always pipe git diff into less
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 %"); |
