Commit Graph

676 Commits

Author SHA1 Message Date
John Letey c95bb60571 Add integration tests for Python segment (#38) 2019-05-13 21:53:26 -06:00
Tim Mulqueen 5fd715e7c3 Implement directory scanner (#34) 2019-05-12 13:37:23 -04:00
John Letey d3ce00c516 Add Go version module (#44) 2019-05-11 23:58:45 -04:00
Matan Kushner 8b5055d510
Parallelize prompt modules (#46) 2019-05-09 23:51:50 -04:00
Matan Kushner c6ee5c6ac1
Refactor segments into modules (#40) 2019-05-01 16:34:24 -04:00
Matan Kushner d945b03093
Install a fixed version of rust for CI integration tests (#39) 2019-05-01 11:12:02 -04:00
John Letey 0b9334f438 Add the package version segment (#35) 2019-05-01 10:45:56 -04:00
Matan Kushner 81b3288568
Create CODE_OF_CONDUCT.md (#42) 2019-04-30 23:30:42 -04:00
Matan Kushner c99f4ba338
Clean up feature request template comment 2019-04-30 14:30:40 -04:00
Matan Kushner 0872d524ca
Add docker for integration tests (#37) 2019-04-28 13:34:46 -04:00
Matan Kushner 5980a0a845
Revert "Add docker for integration tests" (#36)
This reverts commit 67d938c3de.
2019-04-28 13:08:49 -04:00
Matan Kushner 67d938c3de
Add docker for integration tests (#26) 2019-04-28 12:38:55 -04:00
Matan Kushner 9a352c0acc
Add the Git branch segment (#32)
Added
- Repository to Context for reuse in directory and git_branch
- git_branch to prompt

Changed
- Made segments bold to match spaceship
2019-04-26 22:07:07 -04:00
Tiffany Le-Nguyen 85e4b11f0b 📝 Add PULL_REQUEST_TEMPLATE.md (#30)
Co-authored-by: Matan Kushner <hello@matchai.me>
2019-04-26 14:22:58 -04:00
Tiffany Le-Nguyen 5583ce522b Add feature request template (#29) 2019-04-25 23:34:32 -04:00
Tiffany Le-Nguyen 3ca4cd90d8 Add bug report template (#28) 2019-04-25 23:00:57 -04:00
John Letey ca12d22ace Add Python version segment (#23) 2019-04-25 11:06:18 -04:00
Tim Mulqueen 213cded911 Add a Contributing section to README.md (#20) 2019-04-24 17:12:08 -04:00
John Letey f75013ce08 Correct the Rust version symbol in README (#19) 2019-04-24 09:15:00 -04:00
Matan Kushner bb2bcd604b
Share dir_files between segments through Context (#16) 2019-04-23 14:51:08 -04:00
Matan Kushner 33d8beda2d
Update features included in starship 2019-04-21 19:49:11 -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
dependabot[bot] 6d7485cf50
Bump clap from 2.32.0 to 2.33.0 (#13) 2019-04-18 04:06:31 +00:00
Matan Kushner d620f9116b
Update README.md 2019-04-17 16:48:44 -04:00
Matan Kushner 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
Matan Kushner 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
Matan Kushner fd42d81273
Replace tempdir with tempfile (#7) 2019-04-16 07:59:57 -07:00
Matan Kushner bd298374d4
Replace expired link with a non-expiring link 2019-04-15 23:24:15 -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 ab5490bea6
Add README.md badges (#5) 2019-04-15 14:38:45 -04:00
Matan Kushner d2cda32c87
Better test and document the dir segment 2019-04-15 12:04:53 -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 71cac5bd1f
Fix typo in README.md 2019-04-14 01:15:48 -04:00
Matan Kushner 2085397b22
Add development plans to README.md 2019-04-13 12:51:12 -04:00
Matan Kushner 983f1d942d
Add LICENSE 2019-04-13 00:47:49 -04:00
Matan Kushner e314cbbf77
Add features and shells to README 2019-04-13 00:45:33 -04:00
Matan Kushner 4ce4899f81
Add fish_prompt 2019-04-13 00:34:56 -04:00
Matan Kushner 240fb6a02c
Add some documentation for segment 2019-04-12 23:11:00 -04:00
Matan Kushner 9d4492c313
Make segments optionals 2019-04-12 23:06:48 -04:00
Matan Kushner d62bb107f2
Remove unnecessary lifetimes 2019-04-12 19:18:47 -04:00
Matan Kushner 35e219e1f6
Fix up benchmarks 2019-04-12 19:13:14 -04:00
Matan Kushner a0e4172602
Use copy to return segment 2019-04-12 19:11:40 -04:00
Matan Kushner fec5c4db4e
Use builder pattern in char section 2019-04-12 18:12:29 -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 653b9c1d5c
Add missing benchmarks 2019-04-12 13:17:05 -04:00
Matan Kushner ab9ba27231
Revert "Parallelize nodejs file checks"
This reverts commit 99bdf27eca.
2019-04-12 13:10:31 -04:00
Matan Kushner 99bdf27eca
Parallelize nodejs file checks 2019-04-12 13:07:41 -04:00
Matan Kushner 7ffadd37bc
Remove duplicate tests 2019-04-11 20:04:04 -04:00