I would like to be able to do something like
hyperfine --export-markdown=compare-shells.md \
-n zsh -S zsh '[[ -n $ZSH_VERSION ]] && echo something in zsh' \
-n bash -S bash '[[ -n $BASH_VERSION ]] && echo something in bash' \
-n "no shell" -S none 'echo no shell'
However i cannot do that because the shell option applies to every single command (the last one wins).
I would like to be able to set the shell on a per-command basis.
I would like to be able to do something like
However i cannot do that because the shell option applies to every single command (the last one wins).
I would like to be able to set the shell on a per-command basis.