1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-09-30 05:59:07 +00:00
Commit Graph

1 Commits

Author SHA1 Message Date
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