dotfiles/home/private_dot_config/zsh/functions/sm

7 lines
144 B
Bash

#!/usr/bin/env zsh
if [[ "$*" == *"-j"* || "$*" == *"--jobs"* || "$*" == *"--cores"* ]]; then
snakemake $@
else
snakemake -j all $@
fi