add back ol'faithful sm
This commit is contained in:
parent
c5b0843a42
commit
c86d6ad02e
1 changed files with 7 additions and 0 deletions
7
home/private_dot_config/zsh/functions/sm
Normal file
7
home/private_dot_config/zsh/functions/sm
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
if [[ "$*" == *"-j"* || "$*" == *"--jobs"* || "$*" == *"--cores"* ]]; then
|
||||
snakemake $@
|
||||
else
|
||||
snakemake -j all $@
|
||||
fi
|
Loading…
Reference in a new issue