mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 21:45:30 +00:00
autocommit
This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user