From bebbb8b0a27bf5335499d3388046685ebd602e55 Mon Sep 17 00:00:00 2001 From: NerdyPepper Date: Tue, 21 May 2019 23:35:38 +0530 Subject: hotfix: default color for $ was missing --- src/prompt_char.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prompt_char.rs b/src/prompt_char.rs index a95681e..75827bd 100644 --- a/src/prompt_char.rs +++ b/src/prompt_char.rs @@ -4,7 +4,7 @@ use colored::*; pub fn get_char() -> colored::ColoredString { let user_char = env::var("PROMPT_CHAR").unwrap_or("$".into()); let root_char = env::var("PROMPT_CHAR_ROOT").unwrap_or("#".into()); - let user_char_color = env::var("PROMPT_CHAR_COLOR").unwrap_or("green ".into()); + let user_char_color = env::var("PROMPT_CHAR_COLOR").unwrap_or("green".into()); let root_char_color = env::var("PROMPT_CHAR_ROOT_COLOR").unwrap_or("red".into()); let euid = unsafe { libc::geteuid() }; -- cgit v1.2.3