summaryrefslogtreecommitdiff
path: root/snippets/snakemake-mode/cdrun
blob: 6715cf56d24507d2b03365a4d219b89287c7dfb3 (plain)
1
2
3
4
5
# -*- mode: snippet -*-
# name: cdrun
# key: cd
# --
'cd $(dirname {${1:input[0]}}) && ./$(basename {$1})'