pub fn write_profile_if_not_setup(
    shell: &Shell,
    contents: String,
    env_var: &str
) -> Result<Option<PathBuf>, ProtoError>