Age | Commit message (Collapse) | Author |
|
Replaces the existing nodejs module end-to-end tests with integration tests that don't require preinstalled environmental dependencies.
- Moved the tests to the same file as the module they test
- Created a render_module utility function for rendering modules within tests
- Removed Node.js installation during CI setup
- Add Shell to Context to allow for tests to not run shell-specific code
|
|
|
|
|
|
|
|
This PR refactors config and puts configuration files for all modules in `configs/`.
|
|
- Adds the git_state module.
- Adds git_state to the default prompt order
- Updates the documentation to describe the git_state module
|
|
- 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
|