-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show Fish / Powershell specific help
On `moar --help`, if `moar` is not the default pager, try identifying the user's shell and print instructions for setting `PAGER` in that shell. Identifies fish or Powershell, then falls back on bash / zsh instructions (since I failed to come up with a sensible way of identifying those). Before this change, we always printed bash / zsh instructions. Fixes: #251
- Loading branch information
Showing
2 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters