From 869e7a43432abfe4e708dac2176a955c3b9292b4 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 22 Mar 2025 01:53:04 +0100 Subject: [PATCH] lajksd --- snippets/shell script.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/shell script.json b/snippets/shell script.json index bec73ae..a374cbf 100644 --- a/snippets/shell script.json +++ b/snippets/shell script.json @@ -108,7 +108,7 @@ }, "subshell-multiline": { "prefix": "subshell-multiline", - "body": "${1:tmpcmd}() {\n\t${2:BODY}\n}\n\"\\$(declare -f ${1:tmpcmd}); ${1:tmpcmd} \\\"\\$@\\\"\"\nunset -f ${1:tmpcmd}$0", + "body": "${1:tmpcmd}() {\n\t${2:BODY}\n}\n\"\\$(declare -f ${1:tmpcmd}); ${1:tmpcmd} \\\"\\\\\\$@\\\"\"\nunset -f ${1:tmpcmd}$0", "description": "Bash snippet 'subshell-multiline'" }, "math": {