Commit 78d10e3
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 9379f4e commit 78d10e3
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 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