pub fn execute_command_in_directory( dir: &Path, command: &str, config: &LoopConfig, aliases: &HashMap<String, String>, extra_env: Option<&HashMap<String, String>>, ) -> CommandResult