add data source for sg
parent
dad4c62ee0
commit
e5f5053ceb
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"functions": {
|
||||||
|
"shell": [
|
||||||
|
{
|
||||||
|
"description": "Commands can be run if the current user's group is specified, therefore no additional permissions are needed.",
|
||||||
|
"code": "sg $(id -ng)\n"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sudo": [
|
||||||
|
{
|
||||||
|
"code": "sudo sg root\n"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue