let shell_of_default_shell t cmd = t.default_shell.command_name :: t.default_shell.options @ [t.default_shell.command_option; cmd]