|
@ -14,6 +14,7 @@ mod pwd; |
|
|
mod quote;
|
|
|
mod quote;
|
|
|
mod segfault;
|
|
|
mod segfault;
|
|
|
mod sus;
|
|
|
mod sus;
|
|
|
|
|
|
mod time;
|
|
|
|
|
|
|
|
|
pub struct BuiltinConfig {
|
|
|
pub struct BuiltinConfig {
|
|
|
pub prompt_style: PromptStyle,
|
|
|
pub prompt_style: PromptStyle,
|
|
@ -45,6 +46,8 @@ const BUILTINS: Lazy<Vec<(&str, Box<dyn Builtin>)>> = Lazy::new(|| { |
|
|
("quote", Box::new(quote::Quote)),
|
|
|
("quote", Box::new(quote::Quote)),
|
|
|
("segfault", Box::new(segfault::Segfault)),
|
|
|
("segfault", Box::new(segfault::Segfault)),
|
|
|
("sus", Box::new(sus::Sus)),
|
|
|
("sus", Box::new(sus::Sus)),
|
|
|
|
|
|
("quote", Box::new(quote::Quote)),
|
|
|
|
|
|
("time", Box::new(time::Time)),
|
|
|
]
|
|
|
]
|
|
|
});
|
|
|
});
|
|
|
|
|
|
|
|
|