Consider the following hardcoded value of default-shell:
set -g default-shell /usr/local/bin/bash
Does Tmux support any form of command substitution for settings options, e.g.:
set -g default-shell "$(which bash)"
?
I've considered both if-shelland run-shell, but neither suit the purpose of something like command substituion.