1
1
mirror of https://github.com/walles/moar.git synced 2024-11-21 16:04:20 +03:00
moar/scripts
Johan Walles fc59adefd0 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: https://github.com/walles/moar/issues/251
2024-10-27 09:59:13 +01:00
..
test-path-help.sh Show Fish / Powershell specific help 2024-10-27 09:59:13 +01:00