summaryrefslogtreecommitdiff
path: root/snippets
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-04-23 00:37:05 -0400
committerKyle Meyer <kyle@kyleam.com>2015-04-23 00:37:05 -0400
commit4e8e5b40d0a2889d7128cbd97d097f67d145f87b (patch)
tree1c8e9fcaaa1eb341efe9229a9011fed9f5a1507c /snippets
parent5818e9cb237b36533643a0f612c23a54f51e3b38 (diff)
downloademacs.d-4e8e5b40d0a2889d7128cbd97d097f67d145f87b.tar.gz
Add cdrun snipppet for Snakemake
Diffstat (limited to 'snippets')
-rw-r--r--snippets/snakemake-mode/cdrun5
1 files changed, 5 insertions, 0 deletions
diff --git a/snippets/snakemake-mode/cdrun b/snippets/snakemake-mode/cdrun
new file mode 100644
index 0000000..191cbb3
--- /dev/null
+++ b/snippets/snakemake-mode/cdrun
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: cdrun
+# key: cd
+# --
+'cd $(dirname {${1:input[0]}}) && ./$(basename {$1})'