diff --git a/data/sg.json b/data/sg.json new file mode 100644 index 0000000..ee9c920 --- /dev/null +++ b/data/sg.json @@ -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" + } + ] + } +}