diff options
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 6c6861efe..23d82601f 100644 --- a/src/modules/mod.rs +++ b/src/modules/mod.rs @@ -5,6 +5,7 @@ mod directory; mod git_branch; mod git_status; mod golang; +mod hostname; mod jobs; mod line_break; mod nix_shell; @@ -40,6 +41,7 @@ pub fn handle<'a>(module: &str, context: &'a Context) -> Option<Module<'a>> { "cmd_duration" => cmd_duration::module(context), "jobs" => jobs::module(context), "nix_shell" => nix_shell::module(context), + "hostname" => hostname::module(context), _ => { eprintln!("Error: Unknown module {}. Use starship module --list to list out all supported modules.", module); |