|
|
@ -5,6 +5,7 @@ use once_cell::unsync::Lazy; |
|
|
|
mod cd;
|
|
|
|
mod change_prompt;
|
|
|
|
mod exit;
|
|
|
|
mod open;
|
|
|
|
mod pwd;
|
|
|
|
|
|
|
|
pub struct BuiltinConfig {
|
|
|
@ -29,6 +30,7 @@ const BUILTINS: Lazy<Vec<(&str, Box<dyn Builtin>)>> = Lazy::new(|| { |
|
|
|
("change-prompt", Box::new(change_prompt::ChangePrompt)),
|
|
|
|
("exit", Box::new(exit::Exit)),
|
|
|
|
("pwd", Box::new(pwd::Pwd)),
|
|
|
|
("open", Box::new(open::Open)),
|
|
|
|
]
|
|
|
|
});
|
|
|
|
|
|
|
|