Commit Graph

1858 Commits

Author SHA1 Message Date
f75013ce08 Correct the Rust version symbol in README (#19) 2019-04-24 09:15:00 -04:00
bb2bcd604b Share dir_files between segments through Context (#16) 2019-04-23 14:51:08 -04:00
33d8beda2d Update features included in starship 2019-04-21 19:49:11 -04:00
643256e877 feat: Add Rust version segment (#15) 2019-04-21 19:37:34 -04:00
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
6d7485cf50 Bump clap from 2.32.0 to 2.33.0 (#13) 2019-04-18 04:06:31 +00:00
d620f9116b Update README.md 2019-04-17 16:48:44 -04:00
c5b9f39b92 Create and document ZSH adapter (#9)
### Added
- A `.zsh-theme` file as an adapter for zsh
- Documentation for zsh installation

### Changed
- Created an `adapter/` directory for future adapters
2019-04-17 08:38:36 -07:00
2017bcfc7a Use criterion.rs for section benchmarking (#8)
### Changes
- Replace Rust nightly built-in benchmarking with criterion.rs
- Add benchmarking to Azure Pipelines
2019-04-16 12:20:00 -07:00
fd42d81273 Replace tempdir with tempfile (#7) 2019-04-16 07:59:57 -07:00
bd298374d4 Replace expired link with a non-expiring link 2019-04-15 23:24:15 -04:00
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
ab5490bea6 Add README.md badges (#5) 2019-04-15 14:38:45 -04:00
d2cda32c87 Better test and document the dir segment 2019-04-15 12:04:53 -04:00
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
71cac5bd1f Fix typo in README.md 2019-04-14 01:15:48 -04:00
2085397b22 Add development plans to README.md 2019-04-13 12:51:12 -04:00
983f1d942d Add LICENSE 2019-04-13 00:47:49 -04:00
e314cbbf77 Add features and shells to README 2019-04-13 00:45:33 -04:00
4ce4899f81 Add fish_prompt 2019-04-13 00:34:56 -04:00
240fb6a02c Add some documentation for segment 2019-04-12 23:11:00 -04:00
9d4492c313 Make segments optionals 2019-04-12 23:06:48 -04:00
d62bb107f2 Remove unnecessary lifetimes 2019-04-12 19:18:47 -04:00
35e219e1f6 Fix up benchmarks 2019-04-12 19:13:14 -04:00
a0e4172602 Use copy to return segment 2019-04-12 19:11:40 -04:00
fec5c4db4e Use builder pattern in char section 2019-04-12 18:12:29 -04:00
d82ebc4457 Add builder pattern for segment 2019-04-12 17:49:20 -04:00
7356faaec2 Cleanup around newline 2019-04-12 13:17:20 -04:00
653b9c1d5c Add missing benchmarks 2019-04-12 13:17:05 -04:00
ab9ba27231 Revert "Parallelize nodejs file checks"
This reverts commit 99bdf27eca.
2019-04-12 13:10:31 -04:00
99bdf27eca Parallelize nodejs file checks 2019-04-12 13:07:41 -04:00
7ffadd37bc Remove duplicate tests 2019-04-11 20:04:04 -04:00
c1f5a733c9 More progress in Node section 2019-04-11 19:31:30 -04:00
d5493d236d Begin writing Node section 2019-04-10 09:22:11 -04:00
67ab2121c5 Add note and test regarding paths being physical 2019-04-09 00:04:50 -04:00
969840a157 Tidy up dir section 2019-04-08 23:35:14 -04:00
d58ea0659b Add a new line before the prompt 2019-04-08 17:35:38 -04:00
0e0bed0837 Use truncate_path to simplify dir 2019-04-08 15:33:06 -04:00
5086ba2f50 A bit of tidying up 2019-04-07 23:28:38 -04:00
168a6fd7b1 Add proper git project root truncation 2019-04-07 23:23:37 -04:00
3c07e284fe Add some clarifying documentation 2019-04-07 17:17:40 -04:00
fdacd1cf28 Readd home dir truncation 2019-04-07 17:12:22 -04:00
ff94c9f25f Use git project root for truncation 2019-04-07 16:43:11 -04:00
c79cbe63b1 Add stringify_segment rustdoc 2019-04-04 21:35:24 -04:00
472b66894d Rename segements 2019-04-04 20:35:35 -04:00
168d568d54 Add line_sep section 2019-04-04 20:33:36 -04:00
52a529c627 Add basic benchmarks 2019-04-04 16:59:03 -04:00
7136059dcd Add tests to dir home truncation 2019-04-04 14:32:22 -04:00
7683f33bc8 Add dir section with home truncation 2019-04-04 14:18:15 -04:00
a81eabd690 Move Segment struct to modules 2019-04-04 12:18:05 -04:00