autocommit

This commit is contained in:
Daniel Bauer
2019-04-15 13:22:15 +02:00
parent 881b7e2d79
commit 2b9a3f804c
2 changed files with 17 additions and 3 deletions

View File

@@ -7,4 +7,12 @@ sm_autocomplete() {
snakemake_options=$(snakemake --snakefile Snakefile --list)
complete -W "${snakemake_options}" 'snakemake'
}
cd() {
builtin cd "$@"
if [ -f "Snakefile" ]; then
sm_autocomplete
fi
}