From 633d4440b22d251ffbbc3f9eb17d9246bfdc9da6 Mon Sep 17 00:00:00 2001 From: t0thkr1s Date: Thu, 9 Jan 2020 16:06:00 +0100 Subject: [PATCH] add data for journalctl --- data/journalctl.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 data/journalctl.json diff --git a/data/journalctl.json b/data/journalctl.json new file mode 100644 index 0000000..80ff1cf --- /dev/null +++ b/data/journalctl.json @@ -0,0 +1,15 @@ +{ + "description": "This invokes the default pager, which is likely to be 'less', other functions may apply. This might not work if run by unprivileged users depending on the system configuration.", + "functions": { + "shell": [ + { + "code": "journalctl\n!/bin/sh\n" + } + ], + "sudo": [ + { + "code": "sudo journalctl\n!/bin/sh\n" + } + ] + } +} \ No newline at end of file