diff --git a/Cargo.toml b/Cargo.toml index 124913f..3ef73ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,7 @@ rustyline = "10.1" rustyline-derive = "0.7" shlex = "1.1" sysinfo = "0.27" +system_shutdown = "4.0.1" uname = "0.1" whoami = "1.3" -system_shutdown = "4.0.1" + diff --git a/src/builtins/mod.rs b/src/builtins/mod.rs index 22f3386..05be250 100644 --- a/src/builtins/mod.rs +++ b/src/builtins/mod.rs @@ -7,13 +7,13 @@ mod change_prompt; mod exit; mod fetch; mod help; +mod logout; mod ls; mod open; mod pwd; mod quote; mod segfault; mod sus; -mod logout; pub struct BuiltinConfig { pub prompt_style: PromptStyle, @@ -38,13 +38,13 @@ const BUILTINS: Lazy)>> = Lazy::new(|| { ("exit", Box::new(exit::Exit)), ("fetch", Box::new(fetch::Fetch)), ("help", Box::new(help::Help)), + ("logout", Box::new(logout::Logout)), ("ls", Box::new(ls::Ls)), ("open", Box::new(open::Open)), ("pwd", Box::new(pwd::Pwd)), + ("quote", Box::new(quote::Quote)), ("segfault", Box::new(segfault::Segfault)), ("sus", Box::new(sus::Sus)), - ("quote", Box::new(quote::Quote)), - ("logout", Box::new(logout::Logout)), ] });