diff --git a/snippets/shell script.json b/snippets/shell script.json index a739329..c566a4a 100644 --- a/snippets/shell script.json +++ b/snippets/shell script.json @@ -139,7 +139,7 @@ }, "die": { "prefix": "die", - "body": "{ ${4}printf >&2 \"%s\\n\" \"${2:ERROR: ${1:args}}\"; ${4}${3:false}; ${4}}$0", + "body": "! ${4}echo >&2 \"${2:ERROR: ${1:args}}\" $0", "description": "Bash snippet 'die'" }, "command": {