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": {