From 4e8e5b40d0a2889d7128cbd97d097f67d145f87b Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 23 Apr 2015 00:37:05 -0400 Subject: Add cdrun snipppet for Snakemake --- snippets/snakemake-mode/cdrun | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 snippets/snakemake-mode/cdrun (limited to 'snippets/snakemake-mode') 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})' -- cgit v1.2.3