add data for run-mailcap
parent
7cfbb1fc3c
commit
524a025edc
@ -0,0 +1,28 @@
|
||||
{
|
||||
"functions": {
|
||||
"shell": [
|
||||
{
|
||||
"description": "This invokes the default pager, which is likely to be 'less', other functions may apply.",
|
||||
"code": "run-mailcap --action=view /etc/hosts\n!/bin/sh\n"
|
||||
}
|
||||
],
|
||||
"file-read": [
|
||||
{
|
||||
"description": "This invokes the default pager, which is likely to be 'less', other functions may apply.",
|
||||
"code": "run-mailcap --action=view [file]"
|
||||
}
|
||||
],
|
||||
"file-write": [
|
||||
{
|
||||
"description": "The file must exist and be not empty. This invokes the default editor, which is likely to be 'vi', other functions may apply.",
|
||||
"code": "run-mailcap --action=edit [file]"
|
||||
}
|
||||
],
|
||||
"sudo": [
|
||||
{
|
||||
"description": "This invokes the default pager, which is likely to be 'less', other functions may apply.",
|
||||
"code": "sudo run-mailcap --action=view /etc/hosts\n!/bin/sh\n"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue