use std::env;
pub fn get_env(e: &str) -> String {
let value = match e {
"SLICK_PROMPT_CMD_MAX_EXEC_TIME" => env::var(e).unwrap_or("5".into()),
"SLICK_PROMPT_ERROR_COLOR" => env::var(e).unwrap_or("196".into()),
"SLICK_PROMPT_GIT_ACTION_COLOR" => env::var(e).unwrap_or("3".into()),
"SLICK_PROMPT_GIT_BRANCH_COLOR" => env::var(e).unwrap_or("3".into()),
"SLICK_PROMPT_GIT_FETCH" => env::var(e).unwrap_or("1".into()),
"SLICK_PROMPT_GIT_MASTER_BRANCH_COLOR" => env::var(e).unwrap_or("160".into()),
"SLICK_PROMPT_GIT_REMOTE_COLOR" => env::var(e).unwrap_or("6".into()),
"SLICK_PROMPT_GIT_STAGED_COLOR" => env::var(e).unwrap_or("7".into()),
"SLICK_PROMPT_GIT_STATUS_COLOR" => env::var(e).unwrap_or("5".into()),
"SLICK_PROMPT_NON_BREAKING_SPACE" => env::var(e).unwrap_or(" ".into()),
"SLICK_PROMPT_PATH_COLOR" => env::var(e).unwrap_or("74".into()),
"SLICK_PROMPT_SYMBOL" => env::var(e).unwrap_or("$".into()),
"SLICK_PROMPT_SYMBOL_COLOR" => env::var(e).unwrap_or("5".into()),
"SLICK_PROMPT_TIME_ELAPSED_COLOR" => env::var(e).unwrap_or("3".into()),
"SLICK_PROMPT_VICMD_COLOR" => env::var(e).unwrap_or("3".into()),
"SLICK_PROMPT_VICMD_SYMBOL" => env::var(e).unwrap_or(">".into()),
_ => "??".into(),
};
return value;
}