pub struct ShellConfig {
pub hooks: Hooks,
pub builtins: Builtins,
pub readline: Box<dyn Readline>,
pub alias: Alias,
pub env: Env,
pub theme: Theme,
pub lang: Box<dyn Lang>,
pub plugins: Vec<Box<dyn Plugin>>,
pub states: States,
pub history: Box<dyn History>,
pub config_dir: PathBuf,
pub keybinding: Keybindings,
/* private fields */
}Expand description
Unified shell config struct
Fields§
§hooks: HooksRuntime hooks, see crate::hooks
builtins: BuiltinsBuiltin shell commands, see crate::builtin
readline: Box<dyn Readline>Readline implementation
alias: AliasAliases, see crate::alias
env: EnvEnvironment variables, see crate::env
theme: ThemeColor theme, see crate::theme
lang: Box<dyn Lang>Command language
plugins: Vec<Box<dyn Plugin>>Plugins, see crate::plugin
states: StatesGlobally accessible state, see crate::state
history: Box<dyn History>History, see crate::history
config_dir: PathBufConfiguration directory, easy access in the shell
keybinding: KeybindingsKeybindings, see crate::keybinding
Implementations§
Auto Trait Implementations§
impl Freeze for ShellConfig
impl !RefUnwindSafe for ShellConfig
impl !Send for ShellConfig
impl !Sync for ShellConfig
impl Unpin for ShellConfig
impl !UnwindSafe for ShellConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more