feat(snippets/sh-mode): add custom snippets

This commit is contained in:
2024-10-18 03:07:44 +01:00
parent 37c486ca94
commit b3a998a83f
2 changed files with 8 additions and 0 deletions

4
snippets/sh-mode/pd Normal file
View File

@@ -0,0 +1,4 @@
# name: echo debug
# key: pd
# --
echo -e "\n>>>>>> ${1:name}: ${2:$$1${3:}}\n" >&2$0

4
snippets/sh-mode/pdd Normal file
View File

@@ -0,0 +1,4 @@
# name: echo detailed debug
# key: pdd
# --
echo -e "\n>>>>>> ${1:name}:\n"; ${2:$1${3:}} >&2$0