aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/prompt_char.rs2
1 files changed, 1 insertions, 1 deletions
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::*;
4pub fn get_char() -> colored::ColoredString { 4pub fn get_char() -> colored::ColoredString {
5 let user_char = env::var("PROMPT_CHAR").unwrap_or("$".into()); 5 let user_char = env::var("PROMPT_CHAR").unwrap_or("$".into());
6 let root_char = env::var("PROMPT_CHAR_ROOT").unwrap_or("#".into()); 6 let root_char = env::var("PROMPT_CHAR_ROOT").unwrap_or("#".into());
7 let user_char_color = env::var("PROMPT_CHAR_COLOR").unwrap_or("green ".into()); 7 let user_char_color = env::var("PROMPT_CHAR_COLOR").unwrap_or("green".into());
8 let root_char_color = env::var("PROMPT_CHAR_ROOT_COLOR").unwrap_or("red".into()); 8 let root_char_color = env::var("PROMPT_CHAR_ROOT_COLOR").unwrap_or("red".into());
9 9
10 let euid = unsafe { libc::geteuid() }; 10 let euid = unsafe { libc::geteuid() };