This commit is contained in:
2025-03-22 01:53:04 +01:00
parent fcb6f5d129
commit 869e7a4343

View File

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