1
0
mirror of https://github.com/cheat/cheat.git synced 2024-12-20 03:35:05 +01:00
cheat/internal/config
Christopher Allen Lane e6f12147df fix: config fixes for Windows
- Update the default config file to use `more` instead of `less` as the
  default pager, in order to support Windows out-of-the-box. (, ).

- Use `terminal` Chroma formatter (rather than `terminal16m`) in order
  to accommodate less capable terminal emulators like `cmd.exe` by
  default. Similarly, default to `colorize: false` in configs (changed
  from `true`) ().

- Comment out default `style` in order to avoid printing ANSI color
  codes into terminals without color support ()

- Attempt to intelligently choose a default editor, rather than rely on
  a hard-coded `vim` in the configs. This should make it easier to use
  `cheat` immediately without needing to specify configs. It should also
  improve `cheat`'s Windows compatibility. ()
2022-07-04 16:06:37 -04:00
..
color_test.go feat(tests): improve test coverage 2020-11-03 17:29:49 -05:00
color.go fix: colorization errors 2019-11-23 13:47:08 -05:00
config_test.go fix: config fixes for Windows 2022-07-04 16:06:37 -04:00
config.go fix: config fixes for Windows 2022-07-04 16:06:37 -04:00
init_test.go feat(tests): improve test coverage 2020-11-03 17:29:49 -05:00
init.go feat: config auto-generation 2020-01-29 14:08:03 -05:00
path_test.go feat(tests): improve test coverage 2020-11-03 17:29:49 -05:00
path.go feat: config auto-generation 2020-01-29 14:08:03 -05:00
paths_test.go fix(Paths): Android support 2021-10-09 11:27:38 -04:00
paths.go fix(Paths): Android support 2021-10-09 11:27:38 -04:00
validate_test.go Re-wrote from scratch in Golang 2019-10-20 10:02:28 -04:00
validate.go Re-wrote from scratch in Golang 2019-10-20 10:02:28 -04:00