Commit 44f9508
committed
override the default pager on Windows if not found
If the pager is set to "less", the default, and we cannot find "less"
on the PATH, fall back to "more", a Windows builtin.
It would be cleaner for myclirc to have some kind of "pager = auto"
setting but it is likely too late for that.
Addresses issue #1260 .1 parent a40df72 commit 44f9508
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
4 | 9 | | |
5 | 10 | | |
6 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1016 | 1016 | | |
1017 | 1017 | | |
1018 | 1018 | | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
1019 | 1024 | | |
1020 | 1025 | | |
1021 | 1026 | | |
| |||
0 commit comments