add assert_env and prompt_env from gosh
add DIST path (defaults to dist)