John Letey
ca12d22ace
Add Python version segment ( #23 )
2019-04-25 11:06:18 -04:00
Tim Mulqueen
643256e877
feat: Add Rust version segment ( #15 )
2019-04-21 19:37:34 -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
794ae7b2ad
Add integration tests ( #6 )
...
### Changed
- Added current_dir param to segments to make them more testable
- Moved all existing integration tests to a `tests/` dir
### Added
- A whole bunch of new integration tests
2019-04-15 20:54:52 -04:00
Matan Kushner
bca4a7079f
Fix bug in path truncation
...
Paths with 3 components would truncate to 2 despite the truncation length begin set to 3.
2019-04-15 11:40:40 -04:00
Matan Kushner
9d4492c313
Make segments optionals
2019-04-12 23:06:48 -04:00
Matan Kushner
a0e4172602
Use copy to return segment
2019-04-12 19:11:40 -04:00
Matan Kushner
d82ebc4457
Add builder pattern for segment
2019-04-12 17:49:20 -04:00
Matan Kushner
7356faaec2
Cleanup around newline
2019-04-12 13:17:20 -04:00
Matan Kushner
c1f5a733c9
More progress in Node section
2019-04-11 19:31:30 -04:00
Matan Kushner
d5493d236d
Begin writing Node section
2019-04-10 09:22:11 -04:00
Matan Kushner
d58ea0659b
Add a new line before the prompt
2019-04-08 17:35:38 -04:00
Matan Kushner
5086ba2f50
A bit of tidying up
2019-04-07 23:28:38 -04:00
Matan Kushner
c79cbe63b1
Add stringify_segment rustdoc
2019-04-04 21:35:24 -04:00
Matan Kushner
472b66894d
Rename segements
2019-04-04 20:35:35 -04:00
Matan Kushner
168d568d54
Add line_sep section
2019-04-04 20:33:36 -04:00
Matan Kushner
52a529c627
Add basic benchmarks
2019-04-04 16:59:03 -04:00
Matan Kushner
7683f33bc8
Add dir section with home truncation
2019-04-04 14:18:15 -04:00
Matan Kushner
a81eabd690
Move Segment struct to modules
2019-04-04 12:18:05 -04:00
Matan Kushner
e519c3f4a6
Set status with arg rather than env
2019-04-03 22:58:13 -04:00
Matan Kushner
e2ba7a1354
Add segment structure and logic
2019-04-03 20:14:26 -04:00