compose, edit, print.runmailcap, see: convert to alias; run-mailcap: refresh page (#21991)

Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
This commit is contained in:
Managor
2026-04-16 12:52:17 +03:00
committed by GitHub
parent 63a44e343c
commit 893c5e60df
6 changed files with 28 additions and 44 deletions
+2 -2
View File
@@ -6,9 +6,9 @@
`tldr print.zsh`
- View documentation for the `print` alias of `run-mailcap`:
- View documentation for the `print` alias of `run-mailcap --action=print`:
`tldr {{[-p|--platform]}} linux print.runmailcap`
`tldr {{[-p|--platform]}} linux run-mailcap`
- View documentation for printing text files on Windows:
+3 -9
View File
@@ -1,13 +1,7 @@
# compose
> An alias to a `run-mailcap`'s action compose.
> Originally `run-mailcap` is used to mime-type/file.
> More information: <https://manned.org/compose>.
> This command is an alias of `run-mailcap --action=compose`.
- Compose action can be used to compose any existing file or new on default mailcap edit tool:
- View documentation for the original command:
`compose {{filename}}`
- With `run-mailcap`:
`run-mailcap --action=compose {{filename}}`
`tldr run-mailcap`
+3 -9
View File
@@ -1,13 +1,7 @@
# edit
> An alias to a `run-mailcap`'s action edit.
> Originally `run-mailcap` is used to process/edit mime-type/file.
> More information: <https://www.computerhope.com/unix/uedit.htm>.
> This command is an alias of `run-mailcap --action=edit`.
- Edit action can be used to view any file on default mailcap explorer:
- View documentation for the original command:
`edit {{filename}}`
- With `run-mailcap`:
`run-mailcap --action=edit {{filename}}`
`tldr run-mailcap`
-13
View File
@@ -1,13 +0,0 @@
# print
> An alias to a `run-mailcap`'s action print.
> Originally `run-mailcap` is used to process mime-type/file.
> More information: <https://manned.org/print>.
- Print action can be used to print any file on default run-mailcap tool:
`print {{filename}}`
- With `run-mailcap`:
`run-mailcap --action=print {{filename}}`
+17 -2
View File
@@ -1,9 +1,24 @@
# run-mailcap
> Run MailCap Programs.
> Run mailcap view, see, edit, compose, print - execute programs via entries in the mailcap file (or any of its aliases) will use the given action to process each mime-type/file.
> Execute programs via entries in the mailcap file.
> More information: <https://manned.org/run-mailcap>.
- Compose any existing file or new on default `mailcap` edit tool:
`run-mailcap --action=compose {{path/to/file}}`
- View any file on default `mailcap` explorer:
`run-mailcap --action=edit {{path/to/file}}`
- Print a file using the default `mailcap` print tool:
`run-mailcap --action=print {{path/to/file}}`
- View any file (usually image) on default `mailcap` explorer:
`run-mailcap --action=view {{path/to/file}}`
- Invoke individual actions/programs on run-mailcap:
`run-mailcap --action={{view|cat|compose|composetyped|edit|print}} {{path/to/file}}`
+3 -9
View File
@@ -1,13 +1,7 @@
# see
> Alias to `run-mailcap`'s view.
> An alias to a `run-mailcap`'s action print.
> More information: <https://manned.org/see>.
> This command is an alias of `run-mailcap --action=view`.
- See action can be used to view any file (usually image) on default mailcap explorer:
- View documentation for the original command:
`see {{filename}}`
- Using with `run-mailcap`:
`run-mailcap --action=view {{filename}}`
`tldr run-mailcap`