#pragma once #include "typeutils.h" #include "parse.h" typedef struct { char* key; char* val; } StrPair; DECLARE_VEC(StrPair, KeyValMap) DECLARE_MAYBE(char*, MaybeStr) typedef struct { KeyValMap aliases; KeyValMap shell_vars; } ShellState; void run_pipeline(Pipeline pl, ShellState* shstate);