From 8f5aaa6f446d3006a6ab23e525c3c0070785cc11 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 3 Aug 2025 16:05:25 +0200 Subject: [PATCH] post/alias,command,task --- sh/core/code.awk | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/sh/core/code.awk b/sh/core/code.awk index 66a15ca..fd4f59e 100644 --- a/sh/core/code.awk +++ b/sh/core/code.awk @@ -238,7 +238,19 @@ function parse_next(string) { doc_reset() variable = "" - # function + # alias + } else if (current_match == "alias") { + alias = "" + + # command + } else if (current_match == "command") { + command = "" + + # task + } else if (current_match == "task") { + task = "" + + # close } else if (current_match == "close") { doc_reset() current_function = ""