summaryrefslogtreecommitdiff
path: root/snippets/sh-mode
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/sh-mode')
-rw-r--r--snippets/sh-mode/mktempd4
1 files changed, 4 insertions, 0 deletions
diff --git a/snippets/sh-mode/mktempd b/snippets/sh-mode/mktempd
new file mode 100644
index 0000000..e5c4b25
--- /dev/null
+++ b/snippets/sh-mode/mktempd
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+# key: mt
+# --
+mktemp -d "\${TMPDIR:-/tmp}"/$1-XXXXXXX$0