summaryrefslogtreecommitdiffstats
path: root/src/modules/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/mod.rs')
-rw-r--r--src/modules/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/mod.rs b/src/modules/mod.rs
index 83a7d1c40..34f1cc12b 100644
--- a/src/modules/mod.rs
+++ b/src/modules/mod.rs
@@ -15,6 +15,7 @@ mod package;
mod python;
mod ruby;
mod rust;
+mod time;
mod username;
#[cfg(feature = "battery")]
@@ -44,6 +45,7 @@ pub fn handle<'a>(module: &str, context: &'a Context) -> Option<Module<'a>> {
"jobs" => jobs::module(context),
"nix_shell" => nix_shell::module(context),
"hostname" => hostname::module(context),
+ "time" => time::module(context),
_ => {
eprintln!("Error: Unknown module {}. Use starship module --list to list out all supported modules.", module);