You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
921 B
JSON
28 lines
921 B
JSON
{
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
} |