Zhenhui Xie
22dc419a3e
improvement: add parser for format strings ( #1021 )
...
This PR implements the parser of format strings described in #624 .
2020-04-06 13:16:18 -04:00
Matan Kushner
05210b9510
refactor: Go from Rust workspaces to a package with nested packages ( #480 )
2019-10-04 22:30:46 +09:00
Zhenhui Xie
dd0b1a1aa2
refactor: Refactoring config ( #383 )
...
This PR refactors config and puts configuration files for all modules in `configs/`.
2019-09-30 21:10:35 +09:00
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
Matan Kushner
c6ee5c6ac1
Refactor segments into modules ( #40 )
2019-05-01 16:34:24 -04:00
Matan Kushner
022e0002e4
Use "context" to contain run details ( #14 )
...
* Create "context" to contain run details
* Use context in tests and benchmarks
2019-04-19 16:57:14 -04:00
Matan Kushner
d82ebc4457
Add builder pattern for segment
2019-04-12 17:49:20 -04:00
Matan Kushner
ff94c9f25f
Use git project root for truncation
2019-04-07 16:43:11 -04:00
Matan Kushner
52a529c627
Add basic benchmarks
2019-04-04 16:59:03 -04:00