From ba05c935edb5d0ad8837123eb34d327d53f4d2c0 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 19 Sep 2021 22:09:18 -0400 Subject: snippets: Add mktemp snippet --- snippets/sh-mode/mktempd | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 snippets/sh-mode/mktempd (limited to 'snippets') 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 -- cgit v1.2.3