diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-02-20 02:55:24 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-02-20 03:30:54 -0500 |
commit | e8e8b5ebfb685138929a21446959a07fe2f38400 (patch) | |
tree | 9a165ed3fb44e3201efe8393be1f365e29c26a0e /src/colors.rs | |
parent | 844d6b09ff1e7ab4ddb4b15dcb04cd0e45c67ce1 (diff) | |
download | fancy-prompt-e8e8b5ebfb685138929a21446959a07fe2f38400.tar.gz fancy-prompt-e8e8b5ebfb685138929a21446959a07fe2f38400.zip |
handle vcs coloring
Diffstat (limited to 'src/colors.rs')
-rw-r--r-- | src/colors.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/colors.rs b/src/colors.rs index 2db944c..bb8ea4b 100644 --- a/src/colors.rs +++ b/src/colors.rs @@ -32,6 +32,8 @@ impl Colors { color_map.insert(String::from("path_not_writable"), term::color::YELLOW); color_map.insert(String::from("path_not_exist"), term::color::RED); + color_map.insert(String::from("vcs_dirty"), term::color::RED); + color_map.insert(String::from("vcs_error"), term::color::BRIGHT_RED); color_map.insert(String::from("battery_warn"), term::color::YELLOW); color_map.insert(String::from("battery_crit"), term::color::RED); |