pub async fn handle_term_init( shell: Shell, name: Option<String>, with_command_not_found: bool, ) -> Result<()>