-
Notifications
You must be signed in to change notification settings - Fork 813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to write to pager: exec: "less": executable file not found in %PATH% #655
Comments
The default config from |
Appears to duplicate #571 |
chrisallenlane
added a commit
to chrisallenlane/cheat
that referenced
this issue
Jul 4, 2022
- Update the default config file to use `more` instead of `less` as the default pager, in order to support Windows out-of-the-box. (cheat#655, cheat#665). - 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`) (cheat#665). - Comment out default `style` in order to avoid printing ANSI color codes into terminals without color support (cheat#665) - 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. (cheat#665)
chrisallenlane
added a commit
that referenced
this issue
Jul 5, 2022
- Update the default config file to use `more` instead of `less` as the default pager, in order to support Windows out-of-the-box. (#655, #665). - 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`) (#665). - Comment out default `style` in order to avoid printing ANSI color codes into terminals without color support (#665) - 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. (#665)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Whenever I invoke
cheat
, I get the following error: failed to write to pager: exec: "less": executable file not found in %PATH%.For example:
My environment:
Installed via scoop.
The text was updated successfully, but these errors were encountered: