diff options
author | Nick Young <nick@nickwb.net> | 2019-09-06 02:45:04 +1000 |
---|---|---|
committer | Matan Kushner <hello@matchai.me> | 2019-09-05 12:45:04 -0400 |
commit | eb724279da21feca8438a40249d1b2d47e8ca312 (patch) | |
tree | de4642c75b612b0bc817905cf90e711846c3eee5 /src/modules/mod.rs | |
parent | 4f17bae3157d8ddd82af7c630f5ba65de0e8cb90 (diff) |
feat: Adds Git State module for showing "REBASING 2/3", etc. (#276)
- Adds the git_state module.
- Adds git_state to the default prompt order
- Updates the documentation to describe the git_state module
Diffstat (limited to 'src/modules/mod.rs')
-rw-r--r-- | src/modules/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/mod.rs b/src/modules/mod.rs index 23d82601f..83a7d1c40 100644 --- a/src/modules/mod.rs +++ b/src/modules/mod.rs @@ -3,6 +3,7 @@ mod character; mod cmd_duration; mod directory; mod git_branch; +mod git_state; mod git_status; mod golang; mod hostname; @@ -34,6 +35,7 @@ pub fn handle<'a>(module: &str, context: &'a Context) -> Option<Module<'a>> { "line_break" => line_break::module(context), "package" => package::module(context), "git_branch" => git_branch::module(context), + "git_state" => git_state::module(context), "git_status" => git_status::module(context), "username" => username::module(context), #[cfg(feature = "battery")] |