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