summaryrefslogtreecommitdiffstats
path: root/src/modules
AgeCommit message (Collapse)Author
2019-07-19refactor: Improve logging where lackingMatan Kushner
2019-07-19docs: Add vuepress with initial docs (#99)Tiffany Le-Nguyen
Co-authored-by: Tiffany Le-Nguyen <tlenguyen@expedia.com> Co-authored-by: Matan Kushner <hello@matchai.me>
2019-07-14ci: Add GitHub releases to CI (#95)Matan Kushner
2019-07-14chore: Refactor getting string values from config (#94)Matan Kushner
2019-07-02feat: Add a `disabled` configuration option for modules (#86)Matan Kushner
• Add support for the disabled configuration option This will allow you to selectively disable modules that you don't want or need. 😄 • Overwrite starship configuration file path with STARSHIP_CONFIG environment variable • Write tests for the two configuration options that are available
2019-06-10Add support for prompt configuration (#62)Matan Kushner
- 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-06Refactor integration tests (#71)Matan Kushner
- Create subcommands to be able to print modules independently - `starship prompt` will print the full prompt - `starship module <MODULE_NAME>` will print a specific module e.g. `starship module python` - Added `--path` flag to print the prompt or modules without being in a specific directory - Added `--status` flag to provide the status of the last command, instead of requiring it as an argument - Refactored integration tests to be end-to-end tests, since there was no way in integration tests to set the environment variables for a specific command, which was required for the `username` module - Moved e2e tests to `tests/testsuite` to allow for a single binary to be built - Tests will build/run faster - No more false positives for unused functions - Added tests for `username` - Removed codecov + tarpaulin 😢
2019-05-27fix: Check both stderr and stdout for Python version (#66)John Letey
* fix python version not showing for version < 3.4 * make review changes
2019-05-22feat: Add battery module(#63)Matan Kushner
2019-05-19feat: Implement the prompt module for username (#56)Youssef Habri
2019-05-16fix: handle package version panic (#57)Matan Kushner
2019-05-16ci: Fix CI to work with changes to Azure Pipelines build agent (#55)Matan Kushner
2019-05-13Implement the git status module (#45)Matan Kushner
2019-05-12Implement directory scanner (#34)Tim Mulqueen
2019-05-11Add Go version module (#44)John Letey
2019-05-09Parallelize prompt modules (#46)Matan Kushner
2019-05-01Refactor segments into modules (#40)Matan Kushner
2019-05-01Add the package version segment (#35)John Letey
2019-04-26Add the Git branch segment (#32)Matan Kushner
Added - Repository to Context for reuse in directory and git_branch - git_branch to prompt Changed - Made segments bold to match spaceship
2019-04-25Add Python version segment (#23)John Letey
2019-04-23Share dir_files between segments through Context (#16)Matan Kushner
2019-04-21feat: Add Rust version segment (#15)Tim Mulqueen
2019-04-19Use "context" to contain run details (#14)Matan Kushner
* Create "context" to contain run details * Use context in tests and benchmarks
2019-04-15Add integration tests (#6)Matan Kushner
### 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-15Add README.md badges (#5)Matan Kushner
2019-04-15Better test and document the dir segmentMatan Kushner
2019-04-15Fix bug in path truncationMatan Kushner
Paths with 3 components would truncate to 2 despite the truncation length begin set to 3.
2019-04-12Make segments optionalsMatan Kushner
2019-04-12Remove unnecessary lifetimesMatan Kushner
2019-04-12Use copy to return segmentMatan Kushner
2019-04-12Use builder pattern in char sectionMatan Kushner
2019-04-12Add builder pattern for segmentMatan Kushner
2019-04-12Revert "Parallelize nodejs file checks"Matan Kushner
This reverts commit 99bdf27ecac655b54b03d7389b1b24970a1ec9ec.
2019-04-12Parallelize nodejs file checksMatan Kushner
2019-04-11Remove duplicate testsMatan Kushner
2019-04-11More progress in Node sectionMatan Kushner
2019-04-10Begin writing Node sectionMatan Kushner
2019-04-09Add note and test regarding paths being physicalMatan Kushner
2019-04-08Tidy up dir sectionMatan Kushner
2019-04-08Add a new line before the promptMatan Kushner
2019-04-08Use truncate_path to simplify dirMatan Kushner
2019-04-07A bit of tidying upMatan Kushner
2019-04-07Add proper git project root truncationMatan Kushner
2019-04-07Add some clarifying documentationMatan Kushner
2019-04-07Readd home dir truncationMatan Kushner
2019-04-07Use git project root for truncationMatan Kushner
2019-04-04Add stringify_segment rustdocMatan Kushner
2019-04-04Rename segementsMatan Kushner
2019-04-04Add line_sep sectionMatan Kushner
2019-04-04Add tests to dir home truncationMatan Kushner