Improved man.md shell function

Replaced a command requiring interactive actions with a one-liner
This commit is contained in:
nightshiba 2021-02-27 12:39:48 +01:00 committed by GitHub
parent c20963cfd6
commit a3b63dae9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,7 @@ description: This invokes the default pager, which is likely to be [`less`](/gt
functions:
shell:
- code: |
man man
!/bin/sh
man --html='$(sh > /dev/tty)' sh
file-read:
- code: man file_to_read
sudo: