Commit Graph

9 Commits

Author SHA1 Message Date
Tilmann Meyer 2233683410
feat: add error messaging (#1576)
This creates a custom logger for the log crate which logs everything to a file (/tmp/starship/session_$STARSHIP_SESSION_KEY.log) and it logs everything above Warn to stderr, but only if the log file does not contain the line that should be logged resulting in an error or warning to be only logged at the first starship invocation after opening the shell.
2020-09-28 16:38:50 -04:00
Matan Kushner 40bbd5d3cb
docs: Replace project tagline 2020-02-12 21:46:00 -05:00
Tobias Bieniek 9a1569444b refactor: ModuleConfig: Simplify generated `from_config()` implementations (#775)
We can use `and_then()` to string `Option` values together so that we only need a single `?` assertion. This makes it generally possible to have e.g. `unwrap_or()` at the end.
2019-12-23 10:12:21 -05:00
Matan Kushner f458a5e8c9
chore(config_derive): v0.1.1 2019-12-07 16:43:44 -05:00
Matan Kushner e560927c71
chore: Add a license file for starship_module_config_derive
Closes #667
2019-11-27 11:58:57 -05:00
Matan Kushner 05210b9510
refactor: Go from Rust workspaces to a package with nested packages (#480) 2019-10-04 22:30:46 +09:00
Matan Kushner 1cab6854bc
chore(bump): v0.20.0 2019-10-04 18:02:17 +09:00
Zhenhui Xie c39506c6f6 chore: Cleanup after the config refactor (#453) 2019-09-30 23:56:05 +09:00
Zhenhui Xie dd0b1a1aa2 refactor: Refactoring config (#383)
This PR refactors config and puts configuration files for all modules in `configs/`.
2019-09-30 21:10:35 +09:00