fix(Config): colorization without pager (#687)
Fix an issue whereby colorization would output ANSI codes if a pager was not configured. The solution here is to stop guessing about the state of the user's system at runtime, as well as the user's intention. The installer now chooses an appropriate installer when generating configs, and no longer bothers searching for pagers at runtime.
This commit is contained in:
1 parent
4fdec50487
commit
d598d96fce
6 files changed
+68
-57
No files matched your search
@@ -24,7 +24,9 @@ colorize: false
|
||||
formatter: terminal
|
||||
|
||||
# Through which pager should output be piped?
|
||||
# pager: less -FRX # <- recommended where available
|
||||
# 'less -FRX' is recommended on Unix systems
|
||||
# 'more' is recommended on Windows
|
||||
pager: PAGER_PATH
|
||||
|
||||
# The paths at which cheatsheets are available. Tags associated with a cheatpath
|
||||
# are automatically attached to all cheatsheets residing on that path.
|
||||
|
||||
Reference in new issue
Block a user