diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/prompt_char.rs | 2 |
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::*; | |||
4 | pub fn get_char() -> colored::ColoredString { | 4 | pub 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() }; |