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 82d3614a7..f073c5a6c 100644
--- a/src/modules/mod.rs
+++ b/src/modules/mod.rs
@@ -12,6 +12,7 @@ mod hostname;
mod java;
mod jobs;
mod line_break;
+mod memory_usage;
mod nix_shell;
mod nodejs;
mod package;
@@ -52,6 +53,7 @@ pub fn handle<'a>(module: &str, context: &'a Context) -> Option<Module<'a>> {
"nix_shell" => nix_shell::module(context),
"hostname" => hostname::module(context),
"time" => time::module(context),
+ "memory_usage" => memory_usage::module(context),
_ => {
eprintln!("Error: Unknown module {}. Use starship module --list to list out all supported modules.", module);