summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-11 09:11:30 -0600
committerJeff Carr <[email protected]>2025-01-11 09:11:30 -0600
commitfcd25fa76a175148d6f01eebfe6a55bea06649bf (patch)
treecab4c4588dd3653cdfe2b16cb370ad11f6ed274b /main.go
parentc57bb42f207972e44e9c67fcf2f2bcbe88e24fa6 (diff)
force less to pause
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index af2240b..cae7195 100644
--- a/main.go
+++ b/main.go
@@ -76,6 +76,7 @@ func main() {
log.Info("")
okExit("")
}
+ os.Setenv("LESS", "-XR")
if err := shell.Exec([]string{"git", "diff"}); err != nil {
badExit(err)
}