Age | Commit message (Collapse) | Author |
|
Co-authored-by: Tiffany Le-Nguyen <tlenguyen@expedia.com>
Co-authored-by: Matan Kushner <hello@matchai.me>
|
|
• 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
|
|
- 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
|
|
|
|
|
|
Added
- Repository to Context for reuse in directory and git_branch
- git_branch to prompt
Changed
- Made segments bold to match spaceship
|
|
|
|
* Create "context" to contain run details
* Use context in tests and benchmarks
|
|
### 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
|
|
|
|
|
|
|
|
This reverts commit 99bdf27ecac655b54b03d7389b1b24970a1ec9ec.
|
|
|
|
|
|
|
|
|