mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-15 17:47:13 +00:00
097f1b05f1
- Create `Config` struct that is added to `Context` when initialized - Read `~/.confg/starship.toml` during initialization (can be updated later to also look at `$XDG_CONFIG_HOME`) - `Context` now has a method for creating modules. This allows us to provide modules with a reference to the configuration specific to that module
9 lines
149 B
Rust
9 lines
149 B
Rust
// Lib is present to allow for benchmarking
|
|
mod config;
|
|
pub mod context;
|
|
pub mod module;
|
|
pub mod modules;
|
|
pub mod print;
|
|
pub mod segment;
|
|
mod utils;
|