starship/src
Matan Kushner 097f1b05f1
Add support for prompt configuration (#62)
- 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
2019-06-10 15:56:17 +01:00
..
modules Add support for prompt configuration (#62) 2019-06-10 15:56:17 +01:00
config.rs Add support for prompt configuration (#62) 2019-06-10 15:56:17 +01:00
context.rs Add support for prompt configuration (#62) 2019-06-10 15:56:17 +01:00
lib.rs Add support for prompt configuration (#62) 2019-06-10 15:56:17 +01:00
main.rs Add support for prompt configuration (#62) 2019-06-10 15:56:17 +01:00
module.rs Add support for prompt configuration (#62) 2019-06-10 15:56:17 +01:00
print.rs Refactor integration tests (#71) 2019-06-06 13:18:00 +01:00
segment.rs Add support for prompt configuration (#62) 2019-06-10 15:56:17 +01:00
utils.rs Add support for prompt configuration (#62) 2019-06-10 15:56:17 +01:00