summaryrefslogtreecommitdiffstats
path: root/src/module.rs
AgeCommit message (Collapse)Author
2019-08-10feat: Add configuration to change the character for non-zero sta… (#133)Kevin Song
Prompt can now switch characters in addition to switching character color. Add configuration options in so that users can do either, both, or neither.
2019-08-05fix: Address longstanding linter errorsMatan Kushner
2019-07-28feat: Allow directory truncation length to be configured (#120)Andrew Dassonville
This allows the directory truncation length to be configured. Previously, it was hard-coded to truncate to 3 parent directories.
2019-07-27feat: Add configuration for add_newline (#116)Matan Kushner
- Replace TableExt with a Config trait that extends toml::value::Table Add configuration for add_newline - add_newline is a root-level configuration value. When set to false, the initial newline before the prompt is removed.
2019-07-14chore: Refactor getting string values from config (#94)Matan Kushner
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-05-13Implement the git status module (#45)Matan Kushner
2019-05-01Refactor segments into modules (#40)Matan Kushner