Improve the alternative shell function

This commit is contained in:
Andrea Cardaci 2021-02-27 17:09:41 +01:00 committed by GitHub
parent a3b63dae9e
commit eda1cde6a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,11 @@ description: This invokes the default pager, which is likely to be [`less`](/gt
functions:
shell:
- code: |
man --html='$(sh > /dev/tty)' sh
man man
!/bin/sh
- description: This only works for GNU `man` and requires GNU `troff` (`groff` to be installed).
code: |
man '-H/bin/sh #' man
file-read:
- code: man file_to_read
sudo: