From 5098c95cabbbe11497dcf2ca8cc1fd8f93ef28b2 Mon Sep 17 00:00:00 2001 From: t0thkr1s Date: Sun, 15 Mar 2020 14:38:10 +0100 Subject: [PATCH] add data source for crash --- data/crash.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 data/crash.json diff --git a/data/crash.json b/data/crash.json new file mode 100644 index 0000000..210bd40 --- /dev/null +++ b/data/crash.json @@ -0,0 +1,21 @@ +{ + "functions": { + "shell": [ + { + "description": "This invokes the default pager, which is likely to be 'less', other functions may apply.", + "code": "crash -h\n!sh\n" + } + ], + "command": [ + { + "code": "CRASHPAGER=\"[command]\" crash -h\n" + } + ], + "sudo": [ + { + "description": "This invokes the default pager, which is likely to be 'less', other functions may apply.", + "code": "sudo crash -h\n!sh\n" + } + ] + } +} \ No newline at end of file