Refactor make_tmux_shell_commands. More functional is more better!