code: func ExportEnv(env []string) string {
  	if len(env) == 0 {
  		return ""
  	}
  	out := "export"
  	for _, e := range env {
  		if len(e) == 0 {
  			continue
  		}
  		out += " " + BashQuote(e)
  	}
  	return out + "; "
  }
docs: // ExportEnv creates an export statement for a shell that contains all of the
  // provided environment.