diff --git a/home/private_dot_config/zsh/functions/sm b/home/private_dot_config/zsh/functions/sm new file mode 100644 index 0000000..481d16c --- /dev/null +++ b/home/private_dot_config/zsh/functions/sm @@ -0,0 +1,7 @@ +#!/usr/bin/env zsh + +if [[ "$*" == *"-j"* || "$*" == *"--jobs"* || "$*" == *"--cores"* ]]; then + snakemake $@ +else + snakemake -j all $@ +fi