|
@ -9,6 +9,7 @@ mod fetch; |
|
|
mod ls;
|
|
|
mod ls;
|
|
|
mod open;
|
|
|
mod open;
|
|
|
mod pwd;
|
|
|
mod pwd;
|
|
|
|
|
|
mod segfault;
|
|
|
|
|
|
|
|
|
pub struct BuiltinConfig {
|
|
|
pub struct BuiltinConfig {
|
|
|
pub prompt_style: PromptStyle,
|
|
|
pub prompt_style: PromptStyle,
|
|
@ -35,6 +36,7 @@ const BUILTINS: Lazy<Vec<(&str, Box<dyn Builtin>)>> = Lazy::new(|| { |
|
|
("open", Box::new(open::Open)),
|
|
|
("open", Box::new(open::Open)),
|
|
|
("fetch", Box::new(fetch::Fetch)),
|
|
|
("fetch", Box::new(fetch::Fetch)),
|
|
|
("ls", Box::new(ls::Ls)),
|
|
|
("ls", Box::new(ls::Ls)),
|
|
|
|
|
|
("segfault", Box::new(segfault::Segfault)),
|
|
|
]
|
|
|
]
|
|
|
});
|
|
|
});
|
|
|
|
|
|
|
|
|