diff options
Diffstat (limited to 'src/print.rs')
-rw-r--r-- | src/print.rs | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/print.rs b/src/print.rs index 0cf495f72..69c56027a 100644 --- a/src/print.rs +++ b/src/print.rs @@ -5,27 +5,9 @@ use std::io::{self, Write}; use crate::config::Config; use crate::context::Context; use crate::module::Module; +use crate::module::ALL_MODULES; use crate::modules; -// List of all modules -const ALL_MODULES: &[&str] = &[ - "battery", - "character", - "cmd_duration", - "directory", - "git_branch", - "git_status", - "golang", - "jobs", - "line_break", - "nodejs", - "package", - "python", - "ruby", - "rust", - "username", -]; - // List of default prompt order // NOTE: If this const value is changed then Default prompt order subheading inside // prompt heading of config docs needs to be updated according to changes made here. |