aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2019-05-21 19:05:38 +0100
committerNerdyPepper <[email protected]>2019-05-21 19:05:38 +0100
commitbebbb8b0a27bf5335499d3388046685ebd602e55 (patch)
tree67d64e28be47f03a35799ade1dcaf9bcebe4fcfb
parentc3a0eeaa58d6c8981882ce1e2ad633b2c00c8b16 (diff)
hotfix: default color for $ was missing
-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() };